package com.sap.sap_mangers.until;

import com.sap.sap_mangers.Vo.BmsVo.BmsUserForTimeNoReturningVo;
import com.sap.sap_mangers.pojo.SapAdviceOrQuestion;
import com.sap.sap_mangers.pojo.SapBmsManagerSimpleInfo;

import java.sql.Timestamp;
import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.List;

/**
 * @author 樊东升
 * @date 2022/8/8 23:01
 */
public class EmailUntil {
    /**
     * 申请图书借阅发送邮件申请
     *
     * @param username 申请人学号
     * @param name     申请人姓名
     * @param book     申请的书籍
     * @param bookId   书籍编号
     * @return 申请的邮件html字符创
     */
    public static String emailForApprovalBook(String username, String name, String book, Integer bookId) {
        return "\n" +
                "<!doctype html>\n" +
                "<html>\n" +
                "<head>\n" +
                "<meta charset='UTF-8'><meta name='viewport' content='width=device-width initial-scale=1'>\n" +
                "<title></title>\n" +
                "</head>\n" +
                "<body><p>学号:<strong>" + username + "</strong>，姓名:<strong>" + name + "</strong></p>\n" +
                "<p>申请借阅:编号为<strong>" + bookId + "</strong>的<strong>《" + book + "》</strong></p>\n" +
                "<p>申请时间:<strong>" + new Timestamp(System.currentTimeMillis()) + "</strong></p>\n" +
                "<p>请收到消息以后前往网站审批！</p>\n" +
                "</body>\n" +
                "</html>";
    }

    /**
     * 当有一个管理员通过借阅审批以后，会发送邮件给其他管理员
     *
     * @param username        借阅人的学号
     * @param name            借阅人的姓名
     * @param approvalTime    借阅时间
     * @param managerUsername 管理员的学号
     * @param managerName     管理员的姓名
     * @return 字符串
     */
    public static String sendEmailToOtherManagerForApprovalPass(String username, String name, String book, String approvalTime, String managerUsername, String managerName) {
        return "\n" +
                "<!doctype html>\n" +
                "<html>\n" +
                "<head>\n" +
                "<meta charset='UTF-8'><meta name='viewport' content='width=device-width initial-scale=1'>\n" +
                "<title></title>\n" +
                "</head>\n" +
                "<body><p>学号:<strong>" + username + "</strong>，姓名:<strong>" + name + "</strong></p>\n" +
                "<p>申请借阅:<strong>《" + book + "》</strong></p>\n" +
                "<p>申请时间:<strong>" + approvalTime + "</strong></p>\n" +
                "<p><strong>已被" + managerUsername + "(" + managerName + ")审批，特此通知！</strong></p>\n" +
                "<p>审批时间:<strong>" + new Timestamp(System.currentTimeMillis()) + "</strong></p>\n" +
                "<p>其他管理员请勿在重复操作!</p>\n" +
                "</body>\n" +
                "</html>";
    }

    /**
     * 发送邮件告诉申请者，申请通过
     *
     * @param username        申请者学号
     * @param name            申请者姓名
     * @param book            申请书籍
     * @param bookId          书籍编号
     * @param approvalTime    申请时间
     * @param managerUsername 管理员学号
     * @param managerName     管理员姓名
     * @param managerQQ       管理员QQ
     * @param managerPhone    管理员手机号
     * @return 字符串
     */
    public static String sendEmailToUserForApprovalPass(String message, String username, String name, String book, Integer bookId, String approvalTime, String managerUsername, String managerName, String managerQQ, String managerPhone) {
        return "\n" +
                "<div>\n" +
                "  <includetail>\n" +
                "    <div align=\"center\">\n" +
                "      <div class=\"open_email\" style=\"margin-left: 8px; margin-top: 8px; margin-bottom: 8px; margin-right: 8px;\">\n" +
                "        <div>\n" +
                "          <br>\n" +
                "          <span class=\"genEmailContent\">\n" +
                "            <div id=\"cTMail-Wrap\"\n" +
                "              style=\"word-break: break-all;box-sizing:border-box;text-align:center;min-width:320px; max-width:660px; border:1px solid #f6f6f6; background-color:#f7f8fa; margin:auto; padding:20px 0 30px; font-family:'helvetica neue',PingFangSC-Light,arial,'hiragino sans gb','microsoft yahei ui','microsoft yahei',simsun,sans-serif\">\n" +
                "              <div class=\"main-content\" style=\"\">\n" +
                "                <table style=\"width:100%;font-weight:300;margin-bottom:10px;border-collapse:collapse\">\n" +
                "                  <tbody>\n" +
                "                    <tr style=\"font-weight:300\">\n" +
                "                      <td style=\"width:3%;max-width:30px;\"></td>\n" +
                "                      <td style=\"max-width:600px;\">\n" +
                "                        <div id=\"cTMail-logo\" style=\"width:500px; height:25px;\">\n" +
                "                          <a href=\"\" style=\"text-decoration: none;\">\n" +
                "                            <div\n" +
                "                              style=\"width:40px; height:40px;vertical-align: bottom;display: inline-block;background: url('https://www.csuftsap.cn/img/SA.9d9f673e.png'); background-size: cover; \">\n" +
                "                            </div>\n" +
                "\n" +
                "                            <span\n" +
                "                              style=\"color: #000; display: inline-block;font-size: 25px;font-weight: 700;letter-spacing: 5px;height:40px;line-height: 40px;margin-left: 15px;\">软件协会</span>\n" +
                "                          </a>\n" +
                "                        </div>\n" +
                "                        <p\n" +
                "                          style=\"height:2px;background-color: #00a4ff;border: 0;font-size:0;padding:0;width:100%;margin-top:20px;\">\n" +
                "                        </p>\n" +
                "\n" +
                "                        <div id=\"cTMail-inner\"\n" +
                "                          style=\"background-color:#fff; padding:23px 0 20px;box-shadow: 0px 1px 1px 0px rgba(122, 55, 55, 0.2);text-align:left;\">\n" +
                "                          <table\n" +
                "                            style=\"width:100%;font-weight:300;margin-bottom:10px;border-collapse:collapse;text-align:left;\">\n" +
                "                            <tbody>\n" +
                "                              <tr style=\"font-weight:300\">\n" +
                "                                <td style=\"width:3.2%;max-width:30px;\"></td>\n" +
                "                                <td style=\"max-width:480px;text-align:left;\">\n" +
                "                                  <h1 id=\"cTMail-title\"\n" +
                "                                    style=\"font-size: 20px; line-height: 36px; margin: 0px 0px 22px;\">\n" +
                "                                    【软件协会】借阅申请通过\n" +
                "                                  </h1>\n" +
                "\n" +
                "                                  <p id=\"cTMail-userName\"\n" +
                "                                    style=\"font-size:14px;color:#333; line-height:24px; margin:0;\">\n" +
                "                                    <span style=\"font-weight: 700;\">" + name + "同学</span>，您好！\n" +
                "                                  </p>\n" +
                "\n" +
                "                                  <p class=\"cTMail-content\"\n" +
                "                                    style=\"line-height: 24px; margin: 6px 0px 0px; overflow-wrap: break-word; word-break: break-all;\">\n" +
                "                                    <span style=\"color: rgb(51, 51, 51); font-size: 14px;\">\n" +
                "                                      你于" + approvalTime + " 发起的《" + book + "》借阅申请已经通过！\n" +
                "                                    </span>\n" +
                "                                  </p>\n" +
                "                                  <p class=\"cTMail-content\"\n" +
                "                                    style=\"line-height: 24px; margin: 6px 0px 0px; overflow-wrap: break-word; word-break: break-all;\">\n" +
                "                                    <span style=\"color: rgb(51, 51, 51); font-size: 14px;margin-right: 10px;\">\n" +
                "                                      审批人：<strong>" + managerName + "</strong>\n" +
                "                                    </span>\n" +
                "                                    <span style=\"color: rgb(51, 51, 51); font-size: 14px;\">\n" +
                "                                      审批时间：<strong>" + getTime() + "</strong>\n" +
                "                                    </span>\n" +
                "                                    <span style=\"color: rgb(51, 51, 51); font-size: 14px;\">\n" +
                "                                      借阅书籍编号：<strong>" + bookId + "</strong>\n" +
                "                                    </span>\n" +
                "\n" +
                "                                  </p>\n" +
                "\n" +
                "                                  <p class=\"cTMail-content\"\n" +
                "                                    style=\"line-height: 24px; margin: 6px 0px 0px; overflow-wrap: break-word; word-break: break-all;\">\n" +
                "                                    <span style=\"color: rgb(51, 51, 51); font-size: 14px;\">\n" +
                "                                      请在有闲余时间前往求是楼(电子楼)410领取，取书前请联系：\n" +
                "                                    </span>\n" +
                "                                  </p>\n" +
                "                                  <p class=\"cTMail-content\"\n" +
                "                                    style=\"line-height: 24px; margin: 6px 0px 0px; overflow-wrap: break-word; word-break: break-all;\">\n" +
                "                                    <span style=\"color: rgb(51, 51, 51); font-size: 14px;margin-right: 10px;\">\n" +
                "                                      图书管理员QQ：<strong>" + managerQQ + "</strong>\n" +
                "                                    </span>\n" +
                "                                    <span style=\"color: rgb(51, 51, 51); font-size: 14px;\">\n" +
                "                                      手机号：<strong>" + managerPhone + "</strong>\n" +
                "                                    </span>\n" +
                "                                  </p>\n" +
                "                                  <p class=\"cTMail-content\"\n" +
                "                                    style=\"line-height: 24px; margin: 6px 0px 0px; overflow-wrap: break-word; word-break: break-all;\">\n" +
                "                                    <span style=\"color: rgb(51, 51, 51); font-size: 14px;\">\n" +
                "                                      注：请先向管理员确认410是否有人再去领书，不然可能会白跑一趟！拿书时需核对书籍编号，最长借阅时间为一个学期，使用完后请及时归还书籍；\n" +
                "                                    </span>\n" +
                "                                  </p>\n" +
                "                                  <p class=\"cTMail-content\"\n" +
                "                                    style=\"line-height: 24px; margin: 6px 0px 0px; overflow-wrap: break-word; word-break: break-all;\">\n" +
                "                                    <span style=\"color: rgb(51, 51, 51); font-size: 14px;\">\n" +
                "                                      备注：无\n" +
                "                                    </span>\n" +
                "                                  </p>\n" +
                "                                  <p class=\"cTMail-content\"\n" +
                "                                    style=\"line-height: 24px; margin: 6px 0px 0px; overflow-wrap: break-word; word-break: break-all;\">\n" +
                "                                    <span style=\"color: rgb(51, 51, 51); font-size: 14px;\">\n" +
                "\n" +
                "                                    </span>\n" +
                "                                  </p>\n" +
                "                                  <dl style=\"font-size: 14px; color: rgb(51, 51, 51); line-height: 18px;\">\n" +
                "                                    <dd style=\"margin: 0px 0px 6px; padding: 0px; font-size: 12px; line-height: 22px;\">\n" +
                "                                      <div style=\"float: left;\">\n" +
                "                                        <p id=\"cTMail-sender\"\n" +
                "                                          style=\"font-size: 14px; line-height: 26px; word-wrap: break-word; word-break: break-all; margin-top: 32px;\">\n" +
                "                                          此致\n" +
                "                                          <br>\n" +
                "                                          <strong>软件协会</strong>\n" +
                "                                          <br>\n" +
                "                                          " + getTime() + "\n" +
                "                                        </p>\n" +
                "                                        万维网连接五大洲，二进制写进天下事，祝你成功!\n" +
                "                                      </div>\n" +
                "                                      <div\n" +
                "                                        style=\"float: right; width: 160px;height:160px;background: url('https://sap-1256773093.cos.ap-nanjing.myqcloud.com/%E9%82%AE%E4%BB%B6%E5%9B%BE%E7%89%871.png'); background-size: cover;\">\n" +
                "\n" +
                "                                      </div>\n" +
                "\n" +
                "                                    </dd>\n" +
                "                                  </dl>\n" +
                "                                </td>\n" +
                "                                <td style=\"width:3.2%;max-width:30px;\"></td>\n" +
                "                              </tr>\n" +
                "                            </tbody>\n" +
                "                          </table>\n" +
                "                        </div>\n" +
                "\n" +
                "                        <div id=\"cTMail-copy\" style=\"text-align:center; font-size:12px; line-height:18px; color:#999\">\n" +
                "                          <table style=\"width:100%;font-weight:300;margin-bottom:10px;border-collapse:collapse\">\n" +
                "                            <tbody>\n" +
                "                              <tr style=\"font-weight:300\">\n" +
                "                                <td style=\"width:3.2%;max-width:30px;\"></td>\n" +
                "                                <td style=\"max-width:540px;\">\n" +
                "\n" +
                "                                  <p style=\"text-align:center; margin:20px auto 14px auto;font-size:12px;color:#999;\">\n" +
                "                                    此为系统邮件，请勿回复。\n" +
                "\n" +
                "                                  </p>\n" +
                "\n" +
                "                                  <p id=\"cTMail-rights\"\n" +
                "                                    style=\"max-width: 100%; margin:auto;font-size:12px;color:#999;text-align:center;line-height:22px;\">\n" +
                "                                  <div\n" +
                "                                    style=\"width:100px; height:100px; margin:0 auto;border: 1px solid rgb(211, 211, 211);background: url('https://sap-1256773093.cos.ap-nanjing.myqcloud.com/%E5%AE%98Q%E4%BA%8C%E7%BB%B4%E7%A0%81.png'); background-size: cover;\">\n" +
                "                                  </div>\n" +
                "                                  <p style=\"text-align:center; margin:20px auto 14px auto;font-size:12px;color:#999;\">\n" +
                "                                    关注软件协会官方QQ，了解更多！\n" +
                "\n" +
                "                                  </p>\n" +
                "\n" +
                "                                  <br>\n" +
                "\n" +
                "                                  </p>\n" +
                "                                </td>\n" +
                "                                <td style=\"width:3.2%;max-width:30px;\"></td>\n" +
                "                              </tr>\n" +
                "                            </tbody>\n" +
                "                          </table>\n" +
                "                        </div>\n" +
                "                      </td>\n" +
                "                      <td style=\"width:3%;max-width:30px;\"></td>\n" +
                "                    </tr>\n" +
                "                  </tbody>\n" +
                "                </table>\n" +
                "              </div>\n" +
                "            </div>\n" +
                "          </span>\n" +
                "        </div>\n" +
                "      </div>\n" +
                "    </div>\n" +
                "  </includetail>\n" +
                "</div>";
    }

    /**
     * 发送邮件给用户告诉它申请失败
     *
     * @param message         消息
     * @param username        学号
     * @param name            姓名
     * @param book            书名
     * @param approvalTime    申请时间
     * @param managerUsername 管理员学号
     * @param managerName     管理员姓名
     * @param managerQQ       管理员qq
     * @param managerPhone    管理员手机号
     * @return
     */
    public static String sendEmailToUserForApplyFail(String message, String username, String name, String book, String approvalTime, String managerUsername, String managerName, String managerQQ, String managerPhone) {
        return "\n" +
                "<div>\n" +
                "  <includetail>\n" +
                "    <div align=\"center\">\n" +
                "      <div class=\"open_email\" style=\"margin-left: 8px; margin-top: 8px; margin-bottom: 8px; margin-right: 8px;\">\n" +
                "        <div>\n" +
                "          <br>\n" +
                "          <span class=\"genEmailContent\">\n" +
                "            <div id=\"cTMail-Wrap\"\n" +
                "              style=\"word-break: break-all;box-sizing:border-box;text-align:center;min-width:320px; max-width:660px; border:1px solid #f6f6f6; background-color:#f7f8fa; margin:auto; padding:20px 0 30px; font-family:'helvetica neue',PingFangSC-Light,arial,'hiragino sans gb','microsoft yahei ui','microsoft yahei',simsun,sans-serif\">\n" +
                "              <div class=\"main-content\" style=\"\">\n" +
                "                <table style=\"width:100%;font-weight:300;margin-bottom:10px;border-collapse:collapse\">\n" +
                "                  <tbody>\n" +
                "                    <tr style=\"font-weight:300\">\n" +
                "                      <td style=\"width:3%;max-width:30px;\"></td>\n" +
                "                      <td style=\"max-width:600px;\">\n" +
                "                        <div id=\"cTMail-logo\" style=\"width:500px; height:25px;\">\n" +
                "                          <a href=\"\" style=\"text-decoration: none;\">\n" +
                "                            <div\n" +
                "                              style=\"width:50px; height:50px;vertical-align: middle;display: inline-block;background: url('https://sap-1256773093.cos.ap-nanjing.myqcloud.com/%E9%82%AE%E4%BB%B6%E5%9B%BE%E7%89%87logo.png'); background-size: cover; \">\n" +
                "                            </div>\n" +
                "\n" +
                "                            <span\n" +
                "                              style=\"color: #000; display: inline-block;font-size: 25px;font-weight: 700;letter-spacing: 5px;height:40px;line-height: 40px;margin-left: 5px;\">软件协会</span>\n" +
                "                          </a>\n" +
                "                        </div>\n" +
                "                        <p\n" +
                "                          style=\"height:2px;background-color: #00a4ff;border: 0;font-size:0;padding:0;width:100%;margin-top:20px;\">\n" +
                "                        </p>\n" +
                "\n" +
                "                        <div id=\"cTMail-inner\"\n" +
                "                          style=\"background-color:#fff; padding:23px 0 20px;box-shadow: 0px 1px 1px 0px rgba(122, 55, 55, 0.2);text-align:left;\">\n" +
                "                          <table\n" +
                "                            style=\"width:100%;font-weight:300;margin-bottom:10px;border-collapse:collapse;text-align:left;\">\n" +
                "                            <tbody>\n" +
                "                              <tr style=\"font-weight:300\">\n" +
                "                                <td style=\"width:3.2%;max-width:30px;\"></td>\n" +
                "                                <td style=\"max-width:480px;text-align:left;\">\n" +
                "                                  <h1 id=\"cTMail-title\"\n" +
                "                                    style=\"font-size: 20px; line-height: 36px; margin: 0px 0px 22px;\">\n" +
                "                                    【软件协会】借阅申请未通过\n" +
                "                                  </h1>\n" +
                "\n" +
                "                                  <p id=\"cTMail-userName\"\n" +
                "                                    style=\"font-size:14px;color:#333; line-height:24px; margin:0;\">\n" +
                "                                    <span style=\"font-weight: 700;\">" + name + "同学</span>，您好！\n" +
                "                                  </p>\n" +
                "\n" +
                "                                  <p class=\"cTMail-content\"\n" +
                "                                    style=\"line-height: 24px; margin: 6px 0px 0px; overflow-wrap: break-word; word-break: break-all;\">\n" +
                "                                    <span style=\"color: rgb(51, 51, 51); font-size: 14px;\">\n" +
                "                                      你于" + approvalTime + " 发起的《" + book + "》借阅申请未通过！\n" +
                "                                    </span>\n" +
                "                                  </p>\n" +
                "                                  <p class=\"cTMail-content\"\n" +
                "                                    style=\"line-height: 24px; margin: 6px 0px 0px; overflow-wrap: break-word; word-break: break-all;\">\n" +
                "                                    <span style=\"color: rgb(51, 51, 51); font-size: 14px;margin-right: 10px;\">\n" +
                "                                      审批人：<strong>" + managerName + "</strong>\n" +
                "                                    </span>\n" +
                "                                    <span style=\"color: rgb(51, 51, 51); font-size: 14px;\">\n" +
                "                                      审批时间：<strong>" + getTime() + "</strong>\n" +
                "                                    </span>\n" +
                "                                  </p>\n" +
                "\n" +
                "                                  <p class=\"cTMail-content\"\n" +
                "                                    style=\"line-height: 24px; margin: 6px 0px 0px; overflow-wrap: break-word; word-break: break-all;\">\n" +
                "                                    <span style=\"color: rgb(51, 51, 51); font-size: 14px;\">\n" +
                "                                      借阅申请未通过原因：" + message + "\n" +
                "                                    </span>\n" +
                "                                  </p>\n" +
                "                                  <p class=\"cTMail-content\"\n" +
                "                                    style=\"line-height: 24px; margin: 6px 0px 0px; overflow-wrap: break-word; word-break: break-all;\">\n" +
                "                                    <span style=\"color: rgb(51, 51, 51); font-size: 14px;margin-right: 10px;\">\n" +
                "                                      图书管理员QQ：<strong>" + managerQQ + "</strong>\n" +
                "                                    </span>\n" +
                "                                    <span style=\"color: rgb(51, 51, 51); font-size: 14px;\">\n" +
                "                                      手机号：<strong>" + managerPhone + "</strong>\n" +
                "                                    </span>\n" +
                "                                  </p>\n" +
                "                                  <p class=\"cTMail-content\"\n" +
                "                                    style=\"line-height: 24px; margin: 6px 0px 0px; overflow-wrap: break-word; word-break: break-all;\">\n" +
                "                                    <span style=\"color: rgb(51, 51, 51); font-size: 14px;\">\n" +
                "\n" +
                "                                    </span>\n" +
                "                                  </p>\n" +
                "                                  <dl style=\"font-size: 14px; color: rgb(51, 51, 51); line-height: 18px;\">\n" +
                "                                    <dd style=\"margin: 0px 0px 6px; padding: 0px; font-size: 12px; line-height: 22px;\">\n" +
                "                                      <div style=\"float: left;\">\n" +
                "                                        <p id=\"cTMail-sender\"\n" +
                "                                          style=\"font-size: 14px; line-height: 26px; word-wrap: break-word; word-break: break-all; margin-top: 32px;\">\n" +
                "                                          此致\n" +
                "                                          <br>\n" +
                "                                          <strong>软件协会</strong>\n" +
                "                                          <br>\n" +
                "                                          " + getTime() + "\n" +
                "                                        </p>\n" +
                "                                        万维网连接五大洲，二进制写进天下事，祝你成功!\n" +
                "                                      </div>\n" +
                "                                      <div\n" +
                "                                        style=\"float: right; width: 160px;height:160px;background: url('https://sap-1256773093.cos.ap-nanjing.myqcloud.com/%E9%82%AE%E4%BB%B6%E5%9B%BE%E7%89%871.png'); background-size: cover;\">\n" +
                "\n" +
                "                                      </div>\n" +
                "\n" +
                "                                    </dd>\n" +
                "                                  </dl>\n" +
                "                                </td>\n" +
                "                                <td style=\"width:3.2%;max-width:30px;\"></td>\n" +
                "                              </tr>\n" +
                "                            </tbody>\n" +
                "                          </table>\n" +
                "                        </div>\n" +
                "\n" +
                "                        <div id=\"cTMail-copy\" style=\"text-align:center; font-size:12px; line-height:18px; color:#999\">\n" +
                "                          <table style=\"width:100%;font-weight:300;margin-bottom:10px;border-collapse:collapse\">\n" +
                "                            <tbody>\n" +
                "                              <tr style=\"font-weight:300\">\n" +
                "                                <td style=\"width:3.2%;max-width:30px;\"></td>\n" +
                "                                <td style=\"max-width:540px;\">\n" +
                "\n" +
                "                                  <p style=\"text-align:center; margin:20px auto 14px auto;font-size:12px;color:#999;\">\n" +
                "                                    此为系统邮件，请勿回复。\n" +
                "\n" +
                "                                  </p>\n" +
                "\n" +
                "                                  <p id=\"cTMail-rights\"\n" +
                "                                    style=\"max-width: 100%; margin:auto;font-size:12px;color:#999;text-align:center;line-height:22px;\">\n" +
                "                                  <div\n" +
                "                                    style=\"width:100px; height:100px; margin:0 auto;border: 1px solid rgb(211, 211, 211);background: url('https://sap-1256773093.cos.ap-nanjing.myqcloud.com/%E5%AE%98Q%E4%BA%8C%E7%BB%B4%E7%A0%81.png'); background-size: cover;\">\n" +
                "                                  </div>\n" +
                "                                  <p style=\"text-align:center; margin:20px auto 14px auto;font-size:12px;color:#999;\">\n" +
                "                                    关注软件协会官方QQ，了解更多！\n" +
                "\n" +
                "                                  </p>\n" +
                "\n" +
                "                                  <br>\n" +
                "\n" +
                "                                  </p>\n" +
                "                                </td>\n" +
                "                                <td style=\"width:3.2%;max-width:30px;\"></td>\n" +
                "                              </tr>\n" +
                "                            </tbody>\n" +
                "                          </table>\n" +
                "                        </div>\n" +
                "                      </td>\n" +
                "                      <td style=\"width:3%;max-width:30px;\"></td>\n" +
                "                    </tr>\n" +
                "                  </tbody>\n" +
                "                </table>\n" +
                "              </div>\n" +
                "            </div>\n" +
                "          </span>\n" +
                "        </div>\n" +
                "      </div>\n" +
                "    </div>\n" +
                "  </includetail>\n" +
                "</div>";
    }

    /**
     * 发送邮件给用户告诉他书超时没有归还
     *
     * @param user
     * @param managers
     * @return
     */
    public static String sendEmailToUserAboutBookTimeoutNoReturning(BmsUserForTimeNoReturningVo user, List<SapBmsManagerSimpleInfo> managers) {
        String managerMessage = "";
        for (SapBmsManagerSimpleInfo manager : managers) {
            managerMessage += "<p>" + manager.getManagerRealName() + "： " + manager.getManagerQq() + "</p>\n";
        }
        SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy年MM月dd日 HH:mm:ss E");
        return "\n" +
                "<!doctype html>\n" +
                "<html>\n" +
                "<head>\n" +
                "<meta charset='UTF-8'><meta name='viewport' content='width=device-width initial-scale=1'>\n" +
                "<title></title>\n" +
                "</head>\n" +
                "<body><p>学号:<strong>" + user.getUsername() + "</strong>，姓名:<strong>" + user.getRealName() + "</strong></p>\n" +
                "<p>申请借阅:<strong>《" + user.getBookName() + "》</strong></p>\n" +
                "<p>书籍申请时间:<strong>" + simpleDateFormat.format(user.getBorrowTime()) + "</strong></p>\n" +
                "<p>预计归还时间:<strong>" + simpleDateFormat.format(user.getReturnTime()) + "</strong></p>\n" +
                "<p>检测到您当前借阅已超时未归还，请在官网提交申请归还，并归还书籍至 电子楼410</p>\n" +
                "<p>提醒：遇到任何问题，请及时联系软件协会图书管理员</p>\n" +
                "<p><strong>软件协图书管理员QQ列表：</strong>\n" +
                managerMessage +
                "\n<p>编辑来自：\n" +
                "中南林业科技大学软件协会</p>\n" +
                "<p>&nbsp;</p>\n" +
                "</body>\n" +
                "</html>";
    }

    /**
     * 发送归还失败
     *
     * @param message
     * @param e
     * @return
     */
    public static String failSendUserInfoForBookTimeoutNoReturn(String message, Exception e) {
        return "<!doctype html>\n" +
                "<html>\n" +
                "<head>\n" +
                "<meta charset='UTF-8'><meta name='viewport' content='width=device-width initial-scale=1'>\n" +
                "<title></title></head>\n" +
                "<body><p>异常信息：<strong>" + e.getMessage() + "</strong><p>\n" +
                "<p><strong>为 未超时为归还的成员 发送邮件失败的联系列表：</strong></p>\n" +
                message +
                "</body>\n" +
                "</html>";
    }

    /**
     * 申请归还书籍邮件生成
     *
     * @param username 申请人学号
     * @param name     申请人姓名
     * @param book     书籍名称
     * @param bookId   书籍编号
     * @return html邮件内容
     */
    public static String emailForReturnBook(String username, String name, String book, Integer bookId) {
        return "\n" +
                "<div>\n" +
                "  <includetail>\n" +
                "    <div align=\"center\">\n" +
                "      <div class=\"open_email\" style=\"margin-left: 8px; margin-top: 8px; margin-bottom: 8px; margin-right: 8px;\">\n" +
                "        <div>\n" +
                "          <br>\n" +
                "          <span class=\"genEmailContent\">\n" +
                "            <div id=\"cTMail-Wrap\"\n" +
                "              style=\"word-break: break-all;box-sizing:border-box;text-align:center;min-width:320px; max-width:660px; border:1px solid #f6f6f6; background-color:#f7f8fa; margin:auto; padding:20px 0 30px; font-family:'helvetica neue',PingFangSC-Light,arial,'hiragino sans gb','microsoft yahei ui','microsoft yahei',simsun,sans-serif\">\n" +
                "              <div class=\"main-content\" style=\"\">\n" +
                "                <table style=\"width:100%;font-weight:300;margin-bottom:10px;border-collapse:collapse\">\n" +
                "                  <tbody>\n" +
                "                    <tr style=\"font-weight:300\">\n" +
                "                      <td style=\"width:3%;max-width:30px;\"></td>\n" +
                "                      <td style=\"max-width:600px;\">\n" +
                "                        <div id=\"cTMail-logo\" style=\"width:500px; height:25px;\">\n" +
                "                          <a href=\"\" style=\"text-decoration: none;\">\n" +
                "                            <div\n" +
                "                              style=\"width:50px; height:50px;vertical-align: middle;display: inline-block;background: url('https://sap-1256773093.cos.ap-nanjing.myqcloud.com/%E9%82%AE%E4%BB%B6%E5%9B%BE%E7%89%87logo.png'); background-size: cover; \">\n" +
                "                            </div>\n" +
                "\n" +
                "                            <span\n" +
                "                              style=\"color: #000; display: inline-block;font-size: 25px;font-weight: 700;letter-spacing: 5px;height:40px;line-height: 40px;margin-left: 5px;\">软件协会</span>\n" +
                "                          </a>\n" +
                "                        </div>\n" +
                "                        <p\n" +
                "                          style=\"height:2px;background-color: #00a4ff;border: 0;font-size:0;padding:0;width:100%;margin-top:20px;\">\n" +
                "                        </p>\n" +
                "\n" +
                "                        <div id=\"cTMail-inner\"\n" +
                "                          style=\"background-color:#fff; padding:23px 0 20px;box-shadow: 0px 1px 1px 0px rgba(122, 55, 55, 0.2);text-align:left;\">\n" +
                "                          <table\n" +
                "                            style=\"width:100%;font-weight:300;margin-bottom:10px;border-collapse:collapse;text-align:left;\">\n" +
                "                            <tbody>\n" +
                "                              <tr style=\"font-weight:300\">\n" +
                "                                <td style=\"width:3.2%;max-width:30px;\"></td>\n" +
                "                                <td style=\"max-width:480px;text-align:left;\">\n" +
                "                                  <h1 id=\"cTMail-title\"\n" +
                "                                    style=\"font-size: 20px; line-height: 36px; margin: 0px 0px 22px;\">\n" +
                "                                    【软件协会】归还申请\n" +
                "                                  </h1>\n" +
                "\n" +
                "                                  <p id=\"cTMail-userName\"\n" +
                "                                    style=\"font-size:14px;color:#333; line-height:24px; margin:0;\">\n" +
                "                                    <span style=\"font-weight: 700;\">图书管理员</span>，您好！\n" +
                "                                  </p>\n" +
                "\n" +
                "                                  <p class=\"cTMail-content\"\n" +
                "                                    style=\"line-height: 24px; margin: 6px 0px 0px; overflow-wrap: break-word; word-break: break-all;\">\n" +
                "                                    <span style=\"color: rgb(51, 51, 51); font-size: 14px;\">\n" +
                "                                      " + name + "同学已于" + getTime() + " 发起《" + book + "》的归还申请！\n" +
                "                                    </span>\n" +
                "                                  </p>\n" +
                "                                  <p class=\"cTMail-content\"\n" +
                "                                    style=\"line-height: 24px; margin: 6px 0px 0px; overflow-wrap: break-word; word-break: break-all;\">\n" +
                "                                    <span style=\"color: rgb(51, 51, 51); font-size: 14px;\">\n" +
                "                                      请收到消息并确保归还成功后及时前往网站通过审核！\n" +
                "                                    </span>\n" +
                "                                  </p>\n" +
                "                                  <p class=\"cTMail-content\"\n" +
                "                                    style=\"line-height: 24px; margin: 6px 0px 0px; overflow-wrap: break-word; word-break: break-all;\">\n" +
                "                                    <span style=\"color: rgb(51, 51, 51); font-size: 14px;\">\n" +
                "\n" +
                "                                    </span>\n" +
                "                                  </p>\n" +
                "                                  <dl style=\"font-size: 14px; color: rgb(51, 51, 51); line-height: 18px;\">\n" +
                "                                    <dd style=\"margin: 0px 0px 6px; padding: 0px; font-size: 12px; line-height: 22px;\">\n" +
                "                                      <div style=\"float: left;\">\n" +
                "                                        <p id=\"cTMail-sender\"\n" +
                "                                          style=\"font-size: 14px; line-height: 26px; word-wrap: break-word; word-break: break-all; margin-top: 32px;\">\n" +
                "                                          此致\n" +
                "                                          <br>\n" +
                "                                          <strong>软件协会</strong>\n" +
                "                                          <br>\n" +
                "                                          " + getTime() + "\n" +
                "                                        </p>\n" +
                "                                        万维网连接五大洲，二进制写进天下事，祝你成功!\n" +
                "                                      </div>\n" +
                "                                      <div\n" +
                "                                        style=\"float: right; width: 160px;height:160px;background: url('https://sap-1256773093.cos.ap-nanjing.myqcloud.com/%E9%82%AE%E4%BB%B6%E5%9B%BE%E7%89%871.png'); background-size: cover;\">\n" +
                "\n" +
                "                                      </div>\n" +
                "\n" +
                "                                    </dd>\n" +
                "                                  </dl>\n" +
                "                                </td>\n" +
                "                                <td style=\"width:3.2%;max-width:30px;\"></td>\n" +
                "                              </tr>\n" +
                "                            </tbody>\n" +
                "                          </table>\n" +
                "                        </div>\n" +
                "\n" +
                "                        <div id=\"cTMail-copy\" style=\"text-align:center; font-size:12px; line-height:18px; color:#999\">\n" +
                "                          <table style=\"width:100%;font-weight:300;margin-bottom:10px;border-collapse:collapse\">\n" +
                "                            <tbody>\n" +
                "                              <tr style=\"font-weight:300\">\n" +
                "                                <td style=\"width:3.2%;max-width:30px;\"></td>\n" +
                "                                <td style=\"max-width:540px;\">\n" +
                "\n" +
                "                                  <p style=\"text-align:center; margin:20px auto 14px auto;font-size:12px;color:#999;\">\n" +
                "                                    此为系统邮件，请勿回复。\n" +
                "\n" +
                "                                  </p>\n" +
                "\n" +
                "                                  <p id=\"cTMail-rights\"\n" +
                "                                    style=\"max-width: 100%; margin:auto;font-size:12px;color:#999;text-align:center;line-height:22px;\">\n" +
                "                                  <div\n" +
                "                                    style=\"width:100px; height:100px; margin:0 auto;border: 1px solid rgb(211, 211, 211);background: url('https://sap-1256773093.cos.ap-nanjing.myqcloud.com/%E5%AE%98Q%E4%BA%8C%E7%BB%B4%E7%A0%81.png'); background-size: cover;\">\n" +
                "                                  </div>\n" +
                "                                  <p style=\"text-align:center; margin:20px auto 14px auto;font-size:12px;color:#999;\">\n" +
                "                                    关注软件协会官方QQ，了解更多！\n" +
                "\n" +
                "                                  </p>\n" +
                "\n" +
                "                                  <br>\n" +
                "\n" +
                "                                  </p>\n" +
                "                                </td>\n" +
                "                                <td style=\"width:3.2%;max-width:30px;\"></td>\n" +
                "                              </tr>\n" +
                "                            </tbody>\n" +
                "                          </table>\n" +
                "                        </div>\n" +
                "                      </td>\n" +
                "                      <td style=\"width:3%;max-width:30px;\"></td>\n" +
                "                    </tr>\n" +
                "                  </tbody>\n" +
                "                </table>\n" +
                "              </div>\n" +
                "            </div>\n" +
                "          </span>\n" +
                "        </div>\n" +
                "      </div>\n" +
                "    </div>\n" +
                "  </includetail>\n" +
                "</div>";
    }

    /**
     * 申请赔偿书籍邮件生成
     *
     * @param username 申请人学号
     * @param name     申请人姓名
     * @param book     书籍名称
     * @param bookId   书籍编号
     * @return html邮件内容
     */
    public static String emailForPayForBook(String username, String name, String book, Integer bookId) {
        return "\n" +
                "<!doctype html>\n" +
                "<html>\n" +
                "<head>\n" +
                "<meta charset='UTF-8'><meta name='viewport' content='width=device-width initial-scale=1'>\n" +
                "<title></title>\n" +
                "</head>\n" +
                "<body><p>学号:<strong>" + username + "</strong>，姓名:<strong>" + name + "</strong></p>\n" +
                "<p>因各方面原因损坏或遗失了 编号为<strong>" + bookId + "</strong>的<strong>《" + book + "》</strong></p>\n" +
                "<p>现提交了赔偿申请</p>\n" +
                "<p>申请时间:<strong>" + new Timestamp(System.currentTimeMillis()) + "</strong></p>\n" +
                "<p>请收到消息后<strong>及时</strong>前往网站审核</p>\n" +
                "<p><strong>请通过审核的管理员请及时联系申请人商讨赔偿事宜</strong>(书籍价格等信息可通过编号查阅)</p>\n" +
                "</body>\n" +
                "</html>";
    }


    /**
     * 发送邮件给用户--》已经归还成功
     *
     * @param username         用户学号
     * @param name             用户姓名
     * @param book             书籍名字
     * @param applyTime        书籍申请时间
     * @param expectReturnTime 预期归还时间
     * @param actualReturnTime 实际归还时间
     * @param managerUsername  管理员学号
     * @param managerName      管理员姓名
     * @param managerQQ        管理员QQ
     * @return
     */
    public static String sendEmailToUserForBookReturnPass(String username, String name, String book, String applyTime, String expectReturnTime, String actualReturnTime, String managerUsername, String managerName, String managerQQ) {
        return "\n" +
                "<div>\n" +
                "  <includetail>\n" +
                "    <div align=\"center\">\n" +
                "      <div class=\"open_email\" style=\"margin-left: 8px; margin-top: 8px; margin-bottom: 8px; margin-right: 8px;\">\n" +
                "        <div>\n" +
                "          <br>\n" +
                "          <span class=\"genEmailContent\">\n" +
                "            <div id=\"cTMail-Wrap\"\n" +
                "              style=\"word-break: break-all;box-sizing:border-box;text-align:center;min-width:320px; max-width:660px; border:1px solid #f6f6f6; background-color:#f7f8fa; margin:auto; padding:20px 0 30px; font-family:'helvetica neue',PingFangSC-Light,arial,'hiragino sans gb','microsoft yahei ui','microsoft yahei',simsun,sans-serif\">\n" +
                "              <div class=\"main-content\" style=\"\">\n" +
                "                <table style=\"width:100%;font-weight:300;margin-bottom:10px;border-collapse:collapse\">\n" +
                "                  <tbody>\n" +
                "                    <tr style=\"font-weight:300\">\n" +
                "                      <td style=\"width:3%;max-width:30px;\"></td>\n" +
                "                      <td style=\"max-width:600px;\">\n" +
                "                        <div id=\"cTMail-logo\" style=\"width:500px; height:25px;\">\n" +
                "                          <a href=\"\" style=\"text-decoration: none;\">\n" +
                "                            <div\n" +
                "                              style=\"width:50px; height:50px;vertical-align: middle;display: inline-block;background: url('https://sap-1256773093.cos.ap-nanjing.myqcloud.com/%E9%82%AE%E4%BB%B6%E5%9B%BE%E7%89%87logo.png'); background-size: cover; \">\n" +
                "                            </div>\n" +
                "\n" +
                "                            <span\n" +
                "                              style=\"color: #000; display: inline-block;font-size: 25px;font-weight: 700;letter-spacing: 5px;height:40px;line-height: 40px;margin-left: 5px;\">软件协会</span>\n" +
                "                          </a>\n" +
                "                        </div>\n" +
                "                        <p\n" +
                "                          style=\"height:2px;background-color: #00a4ff;border: 0;font-size:0;padding:0;width:100%;margin-top:20px;\">\n" +
                "                        </p>\n" +
                "\n" +
                "                        <div id=\"cTMail-inner\"\n" +
                "                          style=\"background-color:#fff; padding:23px 0 20px;box-shadow: 0px 1px 1px 0px rgba(122, 55, 55, 0.2);text-align:left;\">\n" +
                "                          <table\n" +
                "                            style=\"width:100%;font-weight:300;margin-bottom:10px;border-collapse:collapse;text-align:left;\">\n" +
                "                            <tbody>\n" +
                "                              <tr style=\"font-weight:300\">\n" +
                "                                <td style=\"width:3.2%;max-width:30px;\"></td>\n" +
                "                                <td style=\"max-width:480px;text-align:left;\">\n" +
                "                                  <h1 id=\"cTMail-title\"\n" +
                "                                    style=\"font-size: 20px; line-height: 36px; margin: 0px 0px 22px;\">\n" +
                "                                    【软件协会】归还成功\n" +
                "                                  </h1>\n" +
                "\n" +
                "                                  <p id=\"cTMail-userName\"\n" +
                "                                    style=\"font-size:14px;color:#333; line-height:24px; margin:0;\">\n" +
                "                                    <span style=\"font-weight: 700;\">" + name + "同学</span>，您好！\n" +
                "                                  </p>\n" +
                "\n" +
                "                                  <p class=\"cTMail-content\"\n" +
                "                                    style=\"line-height: 24px; margin: 6px 0px 0px; overflow-wrap: break-word; word-break: break-all;\">\n" +
                "                                    <span style=\"color: rgb(51, 51, 51); font-size: 14px;\">\n" +
                "                                      你于" + applyTime + " 申请借阅的《" + book + "》已经归还成功！\n" +
                "                                    </span>\n" +
                "                                  </p>\n" +
                "                                  <p class=\"cTMail-content\"\n" +
                "                                    style=\"line-height: 24px; margin: 6px 0px 0px; overflow-wrap: break-word; word-break: break-all;\">\n" +
                "                                    <span style=\"color: rgb(51, 51, 51); font-size: 14px;margin-right: 10px;\">\n" +
                "                                      预期归还时间：<strong>" + expectReturnTime + "</strong>\n" +
                "                                    </span>\n" +
                "                                    <span style=\"color: rgb(51, 51, 51); font-size: 14px;\">\n" +
                "                                      实际归还(审批)时间：<strong>" + actualReturnTime + "</strong>\n" +
                "                                    </span>\n" +
                "                                  </p>\n" +
                "                                  <p class=\"cTMail-content\"\n" +
                "                                    style=\"line-height: 24px; margin: 6px 0px 0px; overflow-wrap: break-word; word-break: break-all;\">\n" +
                "                                    <span style=\"color: rgb(51, 51, 51); font-size: 14px;\">\n" +
                "                                      审批人：<strong>" + managerName + "</strong>\n" +
                "                                    </span>\n" +
                "                                  </p>\n" +
                "                                  <p class=\"cTMail-content\"\n" +
                "                                    style=\"line-height: 24px; margin: 6px 0px 0px; overflow-wrap: break-word; word-break: break-all;\">\n" +
                "                                    <span style=\"color: rgb(51, 51, 51); font-size: 14px;margin-right: 10px;\">\n" +
                "                                      图书管理员QQ：<strong>" + managerQQ + "</strong>\n" +
                "                                    </span>\n" +
                "                                  </p>\n" +
                "                                  <p class=\"cTMail-content\"\n" +
                "                                    style=\"line-height: 24px; margin: 6px 0px 0px; overflow-wrap: break-word; word-break: break-all;\">\n" +
                "                                    <span style=\"color: rgb(51, 51, 51); font-size: 14px;\">\n" +
                "                                      任何问题请联系图书管理员，欢迎下次使用软件协会图书管理系统！\n" +
                "                                    </span>\n" +
                "                                  </p>\n" +
                "                                  <p class=\"cTMail-content\"\n" +
                "                                    style=\"line-height: 24px; margin: 6px 0px 0px; overflow-wrap: break-word; word-break: break-all;\">\n" +
                "                                    <span style=\"color: rgb(51, 51, 51); font-size: 14px;\">\n" +
                "\n" +
                "                                    </span>\n" +
                "                                  </p>\n" +
                "                                  <dl style=\"font-size: 14px; color: rgb(51, 51, 51); line-height: 18px;\">\n" +
                "                                    <dd style=\"margin: 0px 0px 6px; padding: 0px; font-size: 12px; line-height: 22px;\">\n" +
                "                                      <div style=\"float: left;\">\n" +
                "                                        <p id=\"cTMail-sender\"\n" +
                "                                          style=\"font-size: 14px; line-height: 26px; word-wrap: break-word; word-break: break-all; margin-top: 32px;\">\n" +
                "                                          此致\n" +
                "                                          <br>\n" +
                "                                          <strong>软件协会</strong>\n" +
                "                                          <br>\n" +
                "                                          " + getTime() + "\n" +
                "                                        </p>\n" +
                "                                        万维网连接五大洲，二进制写进天下事，祝你成功!\n" +
                "                                      </div>\n" +
                "                                      <div\n" +
                "                                        style=\"float: right; width: 160px;height:160px;background: url('https://sap-1256773093.cos.ap-nanjing.myqcloud.com/%E9%82%AE%E4%BB%B6%E5%9B%BE%E7%89%871.png'); background-size: cover;\">\n" +
                "\n" +
                "                                      </div>\n" +
                "\n" +
                "                                    </dd>\n" +
                "                                  </dl>\n" +
                "                                </td>\n" +
                "                                <td style=\"width:3.2%;max-width:30px;\"></td>\n" +
                "                              </tr>\n" +
                "                            </tbody>\n" +
                "                          </table>\n" +
                "                        </div>\n" +
                "\n" +
                "                        <div id=\"cTMail-copy\" style=\"text-align:center; font-size:12px; line-height:18px; color:#999\">\n" +
                "                          <table style=\"width:100%;font-weight:300;margin-bottom:10px;border-collapse:collapse\">\n" +
                "                            <tbody>\n" +
                "                              <tr style=\"font-weight:300\">\n" +
                "                                <td style=\"width:3.2%;max-width:30px;\"></td>\n" +
                "                                <td style=\"max-width:540px;\">\n" +
                "\n" +
                "                                  <p style=\"text-align:center; margin:20px auto 14px auto;font-size:12px;color:#999;\">\n" +
                "                                    此为系统邮件，请勿回复。\n" +
                "\n" +
                "                                  </p>\n" +
                "\n" +
                "                                  <p id=\"cTMail-rights\"\n" +
                "                                    style=\"max-width: 100%; margin:auto;font-size:12px;color:#999;text-align:center;line-height:22px;\">\n" +
                "                                  <div\n" +
                "                                    style=\"width:100px; height:100px; margin:0 auto;border: 1px solid rgb(211, 211, 211);background: url('https://sap-1256773093.cos.ap-nanjing.myqcloud.com/%E5%AE%98Q%E4%BA%8C%E7%BB%B4%E7%A0%81.png'); background-size: cover;\">\n" +
                "                                  </div>\n" +
                "                                  <p style=\"text-align:center; margin:20px auto 14px auto;font-size:12px;color:#999;\">\n" +
                "                                    关注软件协会官方QQ，了解更多！\n" +
                "\n" +
                "                                  </p>\n" +
                "\n" +
                "                                  <br>\n" +
                "\n" +
                "                                  </p>\n" +
                "                                </td>\n" +
                "                                <td style=\"width:3.2%;max-width:30px;\"></td>\n" +
                "                              </tr>\n" +
                "                            </tbody>\n" +
                "                          </table>\n" +
                "                        </div>\n" +
                "                      </td>\n" +
                "                      <td style=\"width:3%;max-width:30px;\"></td>\n" +
                "                    </tr>\n" +
                "                  </tbody>\n" +
                "                </table>\n" +
                "              </div>\n" +
                "            </div>\n" +
                "          </span>\n" +
                "        </div>\n" +
                "      </div>\n" +
                "    </div>\n" +
                "  </includetail>\n" +
                "</div>";
    }

    /**
     * 发送邮件给用户--> 已经赔偿
     *
     * @param username        用户学号
     * @param name            用户姓名
     * @param book            书籍名字
     * @param applyTime       书籍申请时间
     * @param managerUsername 管理员学号
     * @param managerName     管理员姓名
     * @param managerQQ       管理员QQ
     * @return
     */
    public static String sendEmailToUserForBookPay(String username, String name, String book, String applyTime, String nowTime, Double price, String managerUsername, String managerName, String managerQQ) {
        return "\n" +
                "<!doctype html>\n" +
                "<html>\n" +
                "<head>\n" +
                "<meta charset='UTF-8'><meta name='viewport' content='width=device-width initial-scale=1'>\n" +
                "<title></title>\n" +
                "</head>\n" +
                "<body><p>学号:<strong>" + username + "</strong>，姓名:<strong>" + name + "</strong></p>\n" +
                "<p>借阅书籍:<strong>《" + book + "》</strong></p>\n" +
                "<p>赔偿金额:<strong>" + price.toString() + "</strong></p>\n" +
                "<p>申请借阅时间:<strong>" + applyTime + "</strong></p>\n" +
                "<p>管理审批时间:<strong>" + nowTime + "</strong></p>\n" +
                "<p>审批者:<strong>" + managerUsername + "【" + managerName + "】</strong></p>\n" +
                "<p><strong>任何问题联系图书管理员-QQ：<strong>" + managerQQ + "</strong></p>\n" +
                "<p>欢迎下次使用软件协会图书管理系统</p>\n" +
                "<p>编辑来自：中南林业科技大学软件协会</p>\n" +
                "<p>&nbsp;</p>\n" +
                "</body>\n" +
                "</html>";
    }

    /**
     * 当有一个管理员通过归还审批以后，会发送邮件给其他管理员
     *
     * @param username        借阅人的学号
     * @param name            借阅人的姓名
     * @param managerUsername 管理员的学号
     * @param managerName     管理员的姓名
     * @return 字符串
     */
    public static String sendEmailToOtherManagerForBookReturnPass(String username, String name, String book, String applyTime, String expectReturnTime, String actualReturnTime, String managerUsername, String managerName) {
        return "\n" +
                "<!doctype html>\n" +
                "<html>\n" +
                "<head>\n" +
                "<meta charset='UTF-8'><meta name='viewport' content='width=device-width initial-scale=1'>\n" +
                "<title></title>\n" +
                "</head>\n" +
                "<body><p>学号:<strong>" + username + "</strong>，姓名:<strong>" + name + "</strong></p>\n" +
                "<p>借阅书籍:<strong>《" + book + "》</strong></p>\n" +
                "<p>申请借阅时间:<strong>" + applyTime + "</strong></p>\n" +
                "<p>预期归还时间:<strong>" + expectReturnTime + "</strong></p>\n" +
                "<p>审批归还时间:<strong>" + actualReturnTime + "</strong></p>\n" +
                "<p>审批者:<strong>" + managerUsername + "【" + managerName + "】</strong></p>\n" +
                "<p>其他管理员请勿在重复操作!</p>\n" +
                "<p>编辑来自：中南林业科技大学软件协会</p>\n" +
                "<p>&nbsp;</p>\n" +
                "</body>\n" +
                "</html>";
    }

    /**
     * 发送邮件给其他管理员--》已经进行书籍赔偿
     *
     * @param username        用户学号
     * @param name            用户姓名
     * @param book            书籍名字
     * @param applyTime       书籍申请时间
     * @param managerUsername 管理员学号
     * @param managerName     管理员姓名
     * @return
     */
    public static String sendEmailToOtherManagerForBookPay(String username, String name, String book, String applyTime, String nowTime, Double price, String managerUsername, String managerName) {
        return "\n" +
                "<!doctype html>\n" +
                "<html>\n" +
                "<head>\n" +
                "<meta charset='UTF-8'><meta name='viewport' content='width=device-width initial-scale=1'>\n" +
                "<title></title>\n" +
                "</head>\n" +
                "<body><p>学号:<strong>" + username + "</strong>，姓名:<strong>" + name + "</strong></p>\n" +
                "<p>借阅书籍:<strong>《" + book + "》</strong></p>\n" +
                "<p>赔偿金额:<strong>" + price.toString() + "</strong></p>\n" +
                "<p>申请借阅时间:<strong>" + applyTime + "</strong></p>\n" +
                "<p>管理审批时间:<strong>" + nowTime + "</strong></p>\n" +
                "<p>审批者:<strong>" + managerUsername + "【" + managerName + "】</strong></p>\n" +
                "<p>其他管理员请勿在重复操作!</p>\n" +
                "<p>编辑来自：中南林业科技大学软件协会</p>\n" +
                "<p>&nbsp;</p>\n" +
                "</body>\n" +
                "</html>";
    }

    /**
     * 发送修改密码的验证码
     *
     * @param code 验证码
     * @return
     */
    public static String sendEmailForUpdatePasswordCheck(String code) {
        String time = getTime();
        return "\n" +
                "<div>\n" +
                "  <includetail>\n" +
                "    <div align=\"center\">\n" +
                "      <table\n" +
                "        style=\"font-family: Segoe UI, SegoeUIWF, Arial, sans-serif; font-size: 12px; color: #333333; border-spacing: 0px; border-collapse: collapse; padding: 0px; width: 580px; direction: ltr\">\n" +
                "        <tbody>\n" +
                "          <tr>\n" +
                "            <td style=\"font-size: 10px; padding: 0px 0px 7px 0px; text-align: right\">\n" +
                "\n" +
                "            </td>\n" +
                "          </tr>\n" +
                "          <tr style=\"background-color: #0078D4\">\n" +
                "            <td style=\"padding: 0px\">\n" +
                "              <table\n" +
                "                style=\"font-family: Segoe UI, SegoeUIWF, Arial, sans-serif; border-spacing: 0px; border-collapse: collapse; width: 100%\">\n" +
                "                <tbody>\n" +
                "                  <tr>\n" +
                "                    <td style=\"padding: 0px; width: 175px; max-width: 175px\">\n" +
                "                      <div style=\"width: 200px; margin-top:20px;margin-left: 20px;\">\n" +
                "                        <div\n" +
                "                          style=\"width:60px; height:60px;vertical-align: middle;display: inline-block;background: url('https://sap-1256773093.cos.ap-nanjing.myqcloud.com/%E9%82%AE%E4%BB%B6%E5%9B%BE%E7%89%87logo.png'); background-size: cover; \">\n" +
                "                        </div>\n" +
                "                        <span\n" +
                "                          style=\"color: #fff; display: inline-block;font-size: 25px;font-weight: 700;letter-spacing: 5px;height:40px;line-height: 40px;margin-left: 5px;\">软件协会</span>\n" +
                "                      </div>\n" +
                "                    </td>\n" +
                "                    <td style=\"padding: 0px; width: 100%\">\n" +
                "                    </td>\n" +
                "\n" +
                "                  </tr>\n" +
                "                  <tr>\n" +
                "                    <td style=\"font-size: 38px; color: #FFFFFF; padding: 0px 22px 4px 22px\" colspan=\"3\">\n" +
                "                      " + code + "\n" +
                "                    </td>\n" +
                "                  </tr>\n" +
                "                  <tr>\n" +
                "                    <td\n" +
                "                      style=\"font-size: 20px;font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; color: #FFFFFF; padding: 0px 22px 18px 22px\"\n" +
                "                      colspan=\"3\">\n" +
                "                      您正在修改你的登录密码，请确认是本人操作\n" +
                "                    </td>\n" +
                "                  </tr>\n" +
                "                </tbody>\n" +
                "              </table>\n" +
                "            </td>\n" +
                "          </tr>\n" +
                "          <tr>\n" +
                "            <td\n" +
                "              style=\"padding: 30px 20px; border-bottom-style: solid; border-bottom-color: #0078D4; border-bottom-width: 4px\">\n" +
                "              <table\n" +
                "                style=\"font-family: Segoe UI, SegoeUIWF, Arial, sans-serif; font-size: 12px; color: #333333; border-spacing: 0px; border-collapse: collapse; width: 100%\">\n" +
                "                <tbody>\n" +
                "                  <tr>\n" +
                "                    <td style=\"font-size: 14px; padding: 0px 0px 5px 0px\">\n" +
                "                      <div style=\"float: left;\">\n" +
                "                        <p id=\"cTMail-sender\"\n" +
                "                          style=\"font-size: 15px; line-height: 28px; word-wrap: break-word; word-break: break-all; margin-top: 38px;\">\n" +
                "\n" +
                "                          <strong style=\"font-size: 16px;\">软件协会</strong>\n" +
                "                          <br>\n" +
                "                          " + time + "\n" +
                "                        </p>\n" +
                "                        万维网连接五大洲，二进制写进天下事，祝你成功!\n" +
                "                      </div>\n" +
                "                      <div\n" +
                "                        style=\"float: right; width: 140px;height:140px;background: url('https://sap-1256773093.cos.ap-nanjing.myqcloud.com/%E9%82%AE%E4%BB%B6%E5%9B%BE%E7%89%871.png'); background-size: cover;\">\n" +
                "\n" +
                "                      </div>\n" +
                "                    </td>\n" +
                "                  </tr>\n" +
                "\n" +
                "                </tbody>\n" +
                "              </table>\n" +
                "            </td>\n" +
                "          </tr>\n" +
                "          <tr>\n" +
                "            <td style=\"max-width:540px;\">\n" +
                "\n" +
                "              <p style=\"text-align:center; margin:20px auto 14px auto;font-size:12px;color:#999;\">\n" +
                "                此为系统邮件，请勿回复。\n" +
                "\n" +
                "              </p>\n" +
                "\n" +
                "              <p id=\"cTMail-rights\"\n" +
                "                style=\"max-width: 100%; margin:auto;font-size:12px;color:#999;text-align:center;line-height:22px;\">\n" +
                "              <div\n" +
                "                style=\"width:100px; height:100px; margin:0 auto;border: 1px solid rgb(211, 211, 211);background: url('https://sap-1256773093.cos.ap-nanjing.myqcloud.com/%E5%AE%98Q%E4%BA%8C%E7%BB%B4%E7%A0%81.png'); background-size: cover;\">\n" +
                "              </div>\n" +
                "              <p style=\"text-align:center; margin:20px auto 14px auto;font-size:12px;color:#999;\">\n" +
                "                关注软件协会官方QQ，了解更多！\n" +
                "\n" +
                "              </p>s\n" +
                "              <br>\n" +
                "\n" +
                "              </p>\n" +
                "            </td>\n" +
                "          </tr>\n" +
                "          <tr>\n" +
                "\n" +
                "          </tr>\n" +
                "\n" +
                "        </tbody>\n" +
                "      </table>\n" +
                "    </div>\n" +
                "  </includetail>\n" +
                "</div>";
    }

    private static String getTime() {
        Calendar calendar = Calendar.getInstance();
        SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
        String time = formatter.format(calendar.getTime());
        return time;
    }


    /**
     * 用户申请入会邮件
     *
     * @param username              学号
     * @param name                  姓名
     * @param qq                    qq
     * @param paymentTransferNumber 填写的转账单号
     * @param invitationCode        邀请码
     * @return String
     */
    public static String emailForUserApplyToJoin(String username, String name, String qq, String paymentTransferNumber, String invitationCode) {
        return "\n" +
                "<!doctype html>\n" +
                "<html>\n" +
                "<head>\n" +
                "<meta charset='UTF-8'><meta name='viewport' content='width=device-width initial-scale=1'>\n" +
                "<title></title>\n" +
                "</head>\n" +
                "<body><p>学号:<strong>" + username + "</strong>，姓名:<strong>" + name + "</strong>，QQ:<strong>" + qq + "</strong>正在申请入会</p>\n" +
                "<p>其填写的转账单号为<strong>" + paymentTransferNumber + "</strong></p>\n" +
                "<p>对应的邀请码为<strong>" + invitationCode + "</strong></p>\n" +
                "<p>申请时间:<strong>" + new Timestamp(System.currentTimeMillis()) + "</strong></p>\n" +
                "<p>请在确认单号匹配(转账单号与收款单号应该相同)后，及时前往网站审批！</p>\n" +
                "<p>审批通过及时将其拉入软协官群！</p>\n" +
                "</body>\n" +
                "</html>";
    }

    /**
     * 用户修改填写的会费缴纳单号
     *
     * @param username              学号
     * @param name                  姓名
     * @param qq                    qq
     * @param paymentTransferNumber 填写的转账单号
     * @param invitationCode        邀请码
     * @return String
     */
    public static String emailForUseUpdateTransferNumber(String username, String name, String qq, String paymentTransferNumber, String invitationCode) {
        return "\n" +
                "<!doctype html>\n" +
                "<html>\n" +
                "<head>\n" +
                "<meta charset='UTF-8'><meta name='viewport' content='width=device-width initial-scale=1'>\n" +
                "<title></title>\n" +
                "</head>\n" +
                "<body><p>学号:<strong>" + username + "</strong>，姓名:<strong>" + name + "</strong>，QQ:<strong>" + qq + "</strong>修改了缴纳会费的转账单号信息</p>\n" +
                "<p>其填写的转账单号为<strong>" + paymentTransferNumber + "</strong></p>\n" +
                "<p>对应的邀请码为<strong>" + invitationCode + "</strong></p>\n" +
                "<p>请在确认单号匹配(转账单号与收款单号应该相同)后，及时前往网站审批！</p>\n" +
                "<p>审批通过及时将其拉入软协官群！</p>\n" +
                "</body>\n" +
                "</html>";
    }

    /**
     * 入会成功邮件
     *
     * @param name 姓名
     * @return html
     */
    public static String emailForUserJoinSuccess(String name) {
        String time = getTime();
        return "\n" +
                "<div>\n" +
                "    <includetail>\n" +
                "        <div align=\"center\">\n" +
                "            <div class=\"open_email\" style=\"margin-left: 8px; margin-top: 8px; margin-bottom: 8px; margin-right: 8px;\">\n" +
                "                <div>\n" +
                "                    <br>\n" +
                "                    <span class=\"genEmailContent\">\n" +
                "                        <div id=\"cTMail-Wrap\"\n" +
                "                            style=\"word-break: break-all;box-sizing:border-box;text-align:center;min-width:320px; max-width:660px; border:1px solid #f6f6f6; background-color:#f7f8fa; margin:auto; padding:20px 0 30px; font-family:'helvetica neue',PingFangSC-Light,arial,'hiragino sans gb','microsoft yahei ui','microsoft yahei',simsun,sans-serif\">\n" +
                "                            <div class=\"main-content\" style=\"\">\n" +
                "                                <table style=\"width:100%;font-weight:300;margin-bottom:10px;border-collapse:collapse\">\n" +
                "                                    <tbody>\n" +
                "                                        <tr style=\"font-weight:300\">\n" +
                "                                            <td style=\"width:3%;max-width:30px;\"></td>\n" +
                "                                            <td style=\"max-width:600px;\">\n" +
                "                                                <div id=\"cTMail-logo\" style=\"width:500px; height:25px;\">\n" +
                "                                                    <a href=\"\" style=\"text-decoration: none;\">\n" +
                "                                                        <div\n" +
                "                                                            style=\"width:40px; height:40px;vertical-align: bottom;display: inline-block;background: url('https://www.csuftsap.cn/img/SA.9d9f673e.png'); background-size: cover; \">\n" +
                "                                                        </div>\n" +
                "                                                        <!-- <img border=\"0\"\n" +
                "                                                            src=\"https://www.csuftsap.cn/img/SA.9d9f673e.png\"\n" +
                "                                                            style=\"width:40px; height:40px;display: inline-block;vertical-align: bottom;\"> -->\n" +
                "                                                        <span\n" +
                "                                                            style=\"color: #000; display: inline-block;font-size: 25px;font-weight: 700;letter-spacing: 5px;height:40px;line-height: 40px;margin-left: 15px;\">软件协会</span>\n" +
                "                                                    </a>\n" +
                "                                                </div>\n" +
                "                                                <p\n" +
                "                                                    style=\"height:2px;background-color: #00a4ff;border: 0;font-size:0;padding:0;width:100%;margin-top:20px;\">\n" +
                "                                                </p>\n" +
                "\n" +
                "                                                <div id=\"cTMail-inner\"\n" +
                "                                                    style=\"background-color:#fff; padding:23px 0 20px;box-shadow: 0px 1px 1px 0px rgba(122, 55, 55, 0.2);text-align:left;\">\n" +
                "                                                    <table\n" +
                "                                                        style=\"width:100%;font-weight:300;margin-bottom:10px;border-collapse:collapse;text-align:left;\">\n" +
                "                                                        <tbody>\n" +
                "                                                            <tr style=\"font-weight:300\">\n" +
                "                                                                <td style=\"width:3.2%;max-width:30px;\"></td>\n" +
                "                                                                <td style=\"max-width:480px;text-align:left;\">\n" +
                "                                                                    <h1 id=\"cTMail-title\"\n" +
                "                                                                        style=\"font-size: 20px; line-height: 36px; margin: 0px 0px 22px;\">\n" +
                "                                                                        【软件协会】欢迎你加入软件协会\n" +
                "                                                                    </h1>\n" +
                "\n" +
                "                                                                    <p id=\"cTMail-userName\"\n" +
                "                                                                        style=\"font-size:14px;color:#333; line-height:24px; margin:0;\">\n" +
                "                                                                        <span style=\"font-weight: 700;\">" + name + "同学</span>，您好！\n" +
                "                                                                    </p>\n" +
                "\n" +
                "                                                                    <p class=\"cTMail-content\"\n" +
                "                                                                        style=\"line-height: 24px; margin: 6px 0px 0px; overflow-wrap: break-word; word-break: break-all;\">\n" +
                "                                                                        <span\n" +
                "                                                                            style=\"color: rgb(51, 51, 51); font-size: 14px;\">\n" +
                "                                                                            恭喜你成为中南林业科技大学软件协会的一员！\n" +
                "                                                                        </span>\n" +
                "                                                                    </p>\n" +
                "                                                                    <p class=\"cTMail-content\"\n" +
                "                                                                        style=\"line-height: 24px; margin: 6px 0px 0px; overflow-wrap: break-word; word-break: break-all;\">\n" +
                "                                                                        <span\n" +
                "                                                                            style=\"color: rgb(51, 51, 51); font-size: 14px;\">\n" +
                "                                                                            预祝你在接下来的学习生活中有所收获，期望在日后的协会活动中看到你的身影！\n" +
                "                                                                        </span>\n" +
                "\n" +
                "                                                                    </p>\n" +
                "\n" +
                "                                                                    <p class=\"cTMail-content\"\n" +
                "                                                                        style=\"line-height: 24px; margin: 6px 0px 0px; overflow-wrap: break-word; word-break: break-all;\">\n" +
                "                                                                        <span\n" +
                "                                                                            style=\"color: rgb(51, 51, 51); font-size: 14px;\">请及时联系管理员拉入软协正式群\n" +
                "\n" +
                "                                                                        </span>\n" +
                "                                                                    </p>\n" +
                "                                                                    <p class=\"cTMail-content\"\n" +
                "                                                                        style=\"text-align: center; line-height: 24px; margin: 6px 0px 0px; overflow-wrap: break-word; word-break: break-all;\">\n" +
                "                                                                        <span\n" +
                "                                                                            style=\"color: rgb(51, 51, 51); font-size: 14px;\">\n" +
                "\n" +
                "                                                                        </span>\n" +
                "                                                                    </p>\n" +
                "                                                                    <dl\n" +
                "                                                                        style=\"font-size: 14px; color: rgb(51, 51, 51); line-height: 18px;\">\n" +
                "                                                                        <dd\n" +
                "                                                                            style=\"margin: 0px 0px 6px; padding: 0px; font-size: 12px; line-height: 22px;\">\n" +
                "                                                                            <div style=\"float: left;\">\n" +
                "                                                                                <p id=\"cTMail-sender\"\n" +
                "                                                                                    style=\"font-size: 14px; line-height: 26px; word-wrap: break-word; word-break: break-all; margin-top: 32px;\">\n" +
                "                                                                                    此致\n" +
                "                                                                                    <br>\n" +
                "                                                                                    <strong>软件协会</strong>\n" +
                "                                                                                    <br>\n" +
                "                                                                                    " + time + "\n" +
                "                                                                                </p>\n" +
                "                                                                                万维网连接五大洲，二进制写进天下事，祝你成功!\n" +
                "                                                                            </div>\n" +
                "                                                                            <div\n" +
                "                                                                                style=\"float: right; width: 160px;height:160px;background: url('https://sap-1256773093.cos.ap-nanjing.myqcloud.com/%E9%82%AE%E4%BB%B6%E5%9B%BE%E7%89%871.png'); background-size: cover;\">\n" +
                "\n" +
                "                                                                            </div>\n" +
                "\n" +
                "                                                                        </dd>\n" +
                "                                                                    </dl>\n" +
                "                                                                </td>\n" +
                "                                                                <td style=\"width:3.2%;max-width:30px;\"></td>\n" +
                "                                                            </tr>\n" +
                "                                                        </tbody>\n" +
                "                                                    </table>\n" +
                "                                                </div>\n" +
                "\n" +
                "                                                <div id=\"cTMail-copy\"\n" +
                "                                                    style=\"text-align:center; font-size:12px; line-height:18px; color:#999\">\n" +
                "                                                    <table\n" +
                "                                                        style=\"width:100%;font-weight:300;margin-bottom:10px;border-collapse:collapse\">\n" +
                "                                                        <tbody>\n" +
                "                                                            <tr style=\"font-weight:300\">\n" +
                "                                                                <td style=\"width:3.2%;max-width:30px;\"></td>\n" +
                "                                                                <td style=\"max-width:540px;\">\n" +
                "\n" +
                "                                                                    <p\n" +
                "                                                                        style=\"text-align:center; margin:20px auto 14px auto;font-size:12px;color:#999;\">\n" +
                "                                                                        此为系统邮件，请勿回复。\n" +
                "\n" +
                "                                                                    </p>\n" +
                "\n" +
                "                                                                    <p id=\"cTMail-rights\"\n" +
                "                                                                        style=\"max-width: 100%; margin:auto;font-size:12px;color:#999;text-align:center;line-height:22px;\">\n" +
                "                                                                    <div\n" +
                "                                                                        style=\"width:100px; height:100px; margin:0 auto;border: 1px solid rgb(211, 211, 211);background: url('https://sap-1256773093.cos.ap-nanjing.myqcloud.com/%E5%AE%98Q%E4%BA%8C%E7%BB%B4%E7%A0%81.png'); background-size: cover;\">\n" +
                "                                                                    </div>\n" +
                "                                                                    <p\n" +
                "                                                                        style=\"text-align:center; margin:20px auto 14px auto;font-size:12px;color:#999;\">\n" +
                "                                                                        关注软件协会官方QQ，了解更多！\n" +
                "\n" +
                "                                                                    </p>\n" +
                "\n" +
                "                                                                    <br>\n" +
                "\n" +
                "                                                                    </p>\n" +
                "                                                                </td>\n" +
                "                                                                <td style=\"width:3.2%;max-width:30px;\"></td>\n" +
                "                                                            </tr>\n" +
                "                                                        </tbody>\n" +
                "                                                    </table>\n" +
                "                                                </div>\n" +
                "                                            </td>\n" +
                "                                            <td style=\"width:3%;max-width:30px;\"></td>\n" +
                "                                        </tr>\n" +
                "                                    </tbody>\n" +
                "                                </table>\n" +
                "                            </div>\n" +
                "                        </div>\n" +
                "                    </span>\n" +
                "                </div>\n" +
                "            </div>\n" +
                "        </div>\n" +
                "    </includetail>\n" +
                "</div>";
    }


    /**
     * 取消图书借阅申请发送邮件
     *
     * @param username 申请人学号
     * @param name     申请人姓名
     * @param book     申请的书籍
     * @param bookId   书籍编号
     * @return 申请的邮件html字符创
     */
    public static String emailForCancelBorrow(String username, String name, String book, Integer bookId) {
        return "\n" +
                "<!doctype html>\n" +
                "<html>\n" +
                "<head>\n" +
                "<meta charset='UTF-8'><meta name='viewport' content='width=device-width initial-scale=1'>\n" +
                "<title></title>\n" +
                "</head>\n" +
                "<body><p>学号:<strong>" + username + "</strong>，姓名:<strong>" + name + "</strong></p>\n" +
                "<p>于 <strong>" + new Timestamp(System.currentTimeMillis()) + "</strong></p>\n" +
                "<p><strong>取消了 借阅</strong>对编号为<strong>" + bookId + "</strong>的<strong>《" + book + "》</strong>的申请</p>\n" +
                "</body>\n" +
                "</html>";
    }

    /**
     * 取消图书归还申请发送邮件
     *
     * @param username 申请人学号
     * @param name     申请人姓名
     * @param book     申请的书籍
     * @param bookId   书籍编号
     * @return 申请的邮件html字符串
     */
    public static String emailForCancelReturn(String username, String name, String book, Integer bookId) {
        return "\n" +
                "<!doctype html>\n" +
                "<html>\n" +
                "<head>\n" +
                "<meta charset='UTF-8'><meta name='viewport' content='width=device-width initial-scale=1'>\n" +
                "<title></title>\n" +
                "</head>\n" +
                "<body><p>学号:<strong>" + username + "</strong>，姓名:<strong>" + name + "</strong></p>\n" +
                "<p>于 <strong>" + new Timestamp(System.currentTimeMillis()) + "</strong></p>\n" +
                "<p><strong>取消了 归还</strong>编号为<strong>" + bookId + "</strong>的<strong>《" + book + "》</strong>的申请</p>\n" +
                "</body>\n" +
                "</html>";
    }

    /**
     * 退出软件协会学习小组
     * @param username 学号
     * @param name 姓名
     * @param time 时间
     * @param code 验证码
     * @return
     */
    public static String emailForQuitSawbs(String username, String name, String time, String code) {
        return "\n" +
                "<div>\n" +
                "  <includetail>\n" +
                "    <div align=\"center\">\n" +
                "      <table\n" +
                "        style=\"font-family: Segoe UI, SegoeUIWF, Arial, sans-serif; font-size: 12px; color: #333333; border-spacing: 0px; border-collapse: collapse; padding: 0px; width: 580px; direction: ltr\">\n" +
                "        <tbody>\n" +
                "          <tr>\n" +
                "            <td style=\"font-size: 10px; padding: 0px 0px 7px 0px; text-align: right\">\n" +
                "\n" +
                "            </td>\n" +
                "          </tr>\n" +
                "          <tr style=\"background-color: #0078D4\">\n" +
                "            <td style=\"padding: 0px\">\n" +
                "              <table\n" +
                "                style=\"font-family: Segoe UI, SegoeUIWF, Arial, sans-serif; border-spacing: 0px; border-collapse: collapse; width: 100%\">\n" +
                "                <tbody>\n" +
                "                  <tr>\n" +
                "                    <td style=\"padding: 0px; width: 175px; max-width: 175px\">\n" +
                "                      <div style=\"width: 200px; margin-top:20px;margin-left: 20px;\">\n" +
                "                        <div\n" +
                "                          style=\"width:60px; height:60px;vertical-align: middle;display: inline-block;background: url('https://sap-1256773093.cos.ap-nanjing.myqcloud.com/%E9%82%AE%E4%BB%B6%E5%9B%BE%E7%89%87logo.png'); background-size: cover; \">\n" +
                "                        </div>\n" +
                "                        <span\n" +
                "                          style=\"color: #fff; display: inline-block;font-size: 25px;font-weight: 700;letter-spacing: 5px;height:40px;line-height: 40px;margin-left: 5px;\">软件协会</span>\n" +
                "                      </div>\n" +
                "                    </td>\n" +
                "                    <td style=\"padding: 0px; width: 100%\">\n" +
                "                    </td>\n" +
                "\n" +
                "                  </tr>\n" +
                "                  <tr>\n" +
                "                    <td style=\"font-size: 38px; color: #FFFFFF; padding: 0px 22px 4px 22px\" colspan=\"3\">\n" +
                "                      "+code+"\n" +
                "                    </td>\n" +
                "                  </tr>\n" +
                "                  <tr>\n" +
                "                    <td\n" +
                "                      style=\"font-size: 18px;font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; color: #FFFFFF; padding: 0px 22px 18px 22px\"\n" +
                "                      colspan=\"3\">\n" +
                "                      <strong>"+name+"("+username+")"+"</strong>正在退出学习小组，请确认是本人操作！请注意退出以后这次活动将无法再次加入，请谨慎选择！\n" +
                "                    </td>\n" +
                "                  </tr>\n" +
                "                  <tr>\n" +
                "\n" +
                "                  </tr>\n" +
                "                </tbody>\n" +
                "              </table>\n" +
                "            </td>\n" +
                "          </tr>\n" +
                "          <tr>\n" +
                "            <td\n" +
                "              style=\"padding: 30px 20px; border-bottom-style: solid; border-bottom-color: #0078D4; border-bottom-width: 4px\">\n" +
                "              <table\n" +
                "                style=\"font-family: Segoe UI, SegoeUIWF, Arial, sans-serif; font-size: 12px; color: #333333; border-spacing: 0px; border-collapse: collapse; width: 100%\">\n" +
                "                <tbody>\n" +
                "                  <tr>\n" +
                "                    <td style=\"font-size: 14px; padding: 0px 0px 5px 0px\">\n" +
                "                      <div style=\"float: left;\">\n" +
                "                        <p id=\"cTMail-sender\"\n" +
                "                          style=\"font-size: 15px; line-height: 28px; word-wrap: break-word; word-break: break-all; margin-top: 38px;\">\n" +
                "\n" +
                "                          <strong style=\"font-size: 16px;\">软件协会</strong>\n" +
                "                          <br>\n" +
                "                          "+getTime()+"\n" +
                "                        </p>\n" +
                "                        万维网连接五大洲，二进制写进天下事，祝你成功!\n" +
                "                      </div>\n" +
                "                      <div\n" +
                "                        style=\"float: right; width: 140px;height:140px;background: url('https://sap-1256773093.cos.ap-nanjing.myqcloud.com/%E9%82%AE%E4%BB%B6%E5%9B%BE%E7%89%871.png'); background-size: cover;\">\n" +
                "\n" +
                "                      </div>\n" +
                "                    </td>\n" +
                "                  </tr>\n" +
                "\n" +
                "                </tbody>\n" +
                "              </table>\n" +
                "            </td>\n" +
                "          </tr>\n" +
                "          <tr>\n" +
                "            <td style=\"max-width:540px;\">\n" +
                "\n" +
                "              <p style=\"text-align:center; margin:20px auto 14px auto;font-size:12px;color:#999;\">\n" +
                "                此为系统邮件，请勿回复。\n" +
                "\n" +
                "              </p>\n" +
                "\n" +
                "              <p id=\"cTMail-rights\"\n" +
                "                style=\"max-width: 100%; margin:auto;font-size:12px;color:#999;text-align:center;line-height:22px;\">\n" +
                "              <div\n" +
                "                style=\"width:100px; height:100px; margin:0 auto;border: 1px solid rgb(211, 211, 211);background: url('https://sap-1256773093.cos.ap-nanjing.myqcloud.com/%E5%AE%98Q%E4%BA%8C%E7%BB%B4%E7%A0%81.png'); background-size: cover;\">\n" +
                "              </div>\n" +
                "              <p style=\"text-align:center; margin:20px auto 14px auto;font-size:12px;color:#999;\">\n" +
                "                关注软件协会官方QQ，了解更多！\n" +
                "\n" +
                "              </p>\n" +
                "              <br>\n" +
                "\n" +
                "              </p>\n" +
                "            </td>\n" +
                "          </tr>\n" +
                "          <tr>\n" +
                "\n" +
                "          </tr>\n" +
                "\n" +
                "        </tbody>\n" +
                "      </table>\n" +
                "    </div>\n" +
                "  </includetail>\n" +
                "</div>";
    }

    /**
     * 上传的文件/资料通过审核以后发送邮件给上传者
     *
     * @param name     上传者的姓名
     * @param fileName 文件名
     * @param time     上传时间
     * @return email
     */
    public static String emailForPassUploadFile(String name, String fileName, String time) {
        return "\n" +
                "<div>\n" +
                "  <includetail>\n" +
                "    <div align=\"center\">\n" +
                "      <div class=\"open_email\" style=\"margin-left: 8px; margin-top: 8px; margin-bottom: 8px; margin-right: 8px;\">\n" +
                "        <div>\n" +
                "          <br>\n" +
                "          <span class=\"genEmailContent\">\n" +
                "            <div id=\"cTMail-Wrap\"\n" +
                "              style=\"word-break: break-all;box-sizing:border-box;text-align:center;min-width:320px; max-width:660px; border:1px solid #f6f6f6; background-color:#f7f8fa; margin:auto; padding:20px 0 30px; font-family:'helvetica neue',PingFangSC-Light,arial,'hiragino sans gb','microsoft yahei ui','microsoft yahei',simsun,sans-serif\">\n" +
                "              <div class=\"main-content\" style=\"\">\n" +
                "                <table style=\"width:100%;font-weight:300;margin-bottom:10px;border-collapse:collapse\">\n" +
                "                  <tbody>\n" +
                "                    <tr style=\"font-weight:300\">\n" +
                "                      <td style=\"width:3%;max-width:30px;\"></td>\n" +
                "                      <td style=\"max-width:600px;\">\n" +
                "                        <div id=\"cTMail-logo\" style=\"width:500px; height:25px;\">\n" +
                "                          <a href=\"\" style=\"text-decoration: none;\">\n" +
                "                            <div\n" +
                "                              style=\"width:50px; height:50px;vertical-align: middle;display: inline-block;background: url('https://sap-1256773093.cos.ap-nanjing.myqcloud.com/%E9%82%AE%E4%BB%B6%E5%9B%BE%E7%89%87logo.png'); background-size: cover; \">\n" +
                "                            </div>\n" +
                "\n" +
                "                            <span\n" +
                "                              style=\"color: #000; display: inline-block;font-size: 25px;font-weight: 700;letter-spacing: 5px;height:40px;line-height: 40px;margin-left: 5px;\">软件协会</span>\n" +
                "                          </a>\n" +
                "                        </div>\n" +
                "                        <p\n" +
                "                          style=\"height:2px;background-color: #00a4ff;border: 0;font-size:0;padding:0;width:100%;margin-top:20px;\">\n" +
                "                        </p>\n" +
                "\n" +
                "                        <div id=\"cTMail-inner\"\n" +
                "                          style=\"background-color:#fff; padding:23px 0 20px;box-shadow: 0px 1px 1px 0px rgba(122, 55, 55, 0.2);text-align:left;\">\n" +
                "                          <table\n" +
                "                            style=\"width:100%;font-weight:300;margin-bottom:10px;border-collapse:collapse;text-align:left;\">\n" +
                "                            <tbody>\n" +
                "                              <tr style=\"font-weight:300\">\n" +
                "                                <td style=\"width:3.2%;max-width:30px;\"></td>\n" +
                "                                <td style=\"max-width:480px;text-align:left;\">\n" +
                "                                  <h1 id=\"cTMail-title\"\n" +
                "                                    style=\"font-size: 20px; line-height: 36px; margin: 0px 0px 22px;\">\n" +
                "                                    【软件协会】上传资料审核通过\n" +
                "                                  </h1>\n" +
                "\n" +
                "                                  <p id=\"cTMail-userName\"\n" +
                "                                    style=\"font-size:14px;color:#333; line-height:24px; margin:0;\">\n" +
                "                                    <span style=\"font-weight: 700;\">"+name+"同学</span>，您好！\n" +
                "                                  </p>\n" +
                "\n" +
                "                                  <p class=\"cTMail-content\"\n" +
                "                                    style=\"line-height: 24px; margin: 6px 0px 0px; overflow-wrap: break-word; word-break: break-all;\">\n" +
                "                                    <span style=\"color: rgb(51, 51, 51); font-size: 14px;\">\n" +
                "                                      你于"+time+" 上传的 <strong>"+fileName+"</strong> 已经通过了审核！\n" +
                "                                    </span>\n" +
                "                                  </p>\n" +
                "                                  <p class=\"cTMail-content\"\n" +
                "                                    style=\"line-height: 24px; margin: 6px 0px 0px; overflow-wrap: break-word; word-break: break-all;\">\n" +
                "                                    <span style=\"color: rgb(51, 51, 51); font-size: 14px;\">\n" +
                "                                      感谢你为软件协会的资料分享做出贡献！\n" +
                "                                    </span>\n" +
                "                                  </p>\n" +
                "                                  <p class=\"cTMail-content\"\n" +
                "                                    style=\"line-height: 24px; margin: 6px 0px 0px; overflow-wrap: break-word; word-break: break-all;\">\n" +
                "                                    <span style=\"color: rgb(51, 51, 51); font-size: 14px;\">\n" +
                "\n" +
                "                                    </span>\n" +
                "                                  </p>\n" +
                "                                  <dl style=\"font-size: 14px; color: rgb(51, 51, 51); line-height: 18px;\">\n" +
                "                                    <dd style=\"margin: 0px 0px 6px; padding: 0px; font-size: 12px; line-height: 22px;\">\n" +
                "                                      <div style=\"float: left;\">\n" +
                "                                        <p id=\"cTMail-sender\"\n" +
                "                                          style=\"font-size: 14px; line-height: 26px; word-wrap: break-word; word-break: break-all; margin-top: 32px;\">\n" +
                "                                          此致\n" +
                "                                          <br>\n" +
                "                                          <strong>软件协会</strong>\n" +
                "                                          <br>\n" +
                "                                          "+getTime()+"\n" +
                "                                        </p>\n" +
                "                                        万维网连接五大洲，二进制写进天下事，祝你成功!\n" +
                "                                      </div>\n" +
                "                                      <div\n" +
                "                                        style=\"float: right; width: 160px;height:160px;background: url('https://sap-1256773093.cos.ap-nanjing.myqcloud.com/%E9%82%AE%E4%BB%B6%E5%9B%BE%E7%89%871.png'); background-size: cover;\">\n" +
                "\n" +
                "                                      </div>\n" +
                "\n" +
                "                                    </dd>\n" +
                "                                  </dl>\n" +
                "                                </td>\n" +
                "                                <td style=\"width:3.2%;max-width:30px;\"></td>\n" +
                "                              </tr>\n" +
                "                            </tbody>\n" +
                "                          </table>\n" +
                "                        </div>\n" +
                "\n" +
                "                        <div id=\"cTMail-copy\" style=\"text-align:center; font-size:12px; line-height:18px; color:#999\">\n" +
                "                          <table style=\"width:100%;font-weight:300;margin-bottom:10px;border-collapse:collapse\">\n" +
                "                            <tbody>\n" +
                "                              <tr style=\"font-weight:300\">\n" +
                "                                <td style=\"width:3.2%;max-width:30px;\"></td>\n" +
                "                                <td style=\"max-width:540px;\">\n" +
                "\n" +
                "                                  <p style=\"text-align:center; margin:20px auto 14px auto;font-size:12px;color:#999;\">\n" +
                "                                    此为系统邮件，请勿回复。\n" +
                "\n" +
                "                                  </p>\n" +
                "\n" +
                "                                  <p id=\"cTMail-rights\"\n" +
                "                                    style=\"max-width: 100%; margin:auto;font-size:12px;color:#999;text-align:center;line-height:22px;\">\n" +
                "                                  <div\n" +
                "                                    style=\"width:100px; height:100px; margin:0 auto;border: 1px solid rgb(211, 211, 211);background: url('https://sap-1256773093.cos.ap-nanjing.myqcloud.com/%E5%AE%98Q%E4%BA%8C%E7%BB%B4%E7%A0%81.png'); background-size: cover;\">\n" +
                "                                  </div>\n" +
                "                                  <p style=\"text-align:center; margin:20px auto 14px auto;font-size:12px;color:#999;\">\n" +
                "                                    关注软件协会官方QQ，了解更多！\n" +
                "\n" +
                "                                  </p>\n" +
                "\n" +
                "                                  <br>\n" +
                "\n" +
                "                                  </p>\n" +
                "                                </td>\n" +
                "                                <td style=\"width:3.2%;max-width:30px;\"></td>\n" +
                "                              </tr>\n" +
                "                            </tbody>\n" +
                "                          </table>\n" +
                "                        </div>\n" +
                "                      </td>\n" +
                "                      <td style=\"width:3%;max-width:30px;\"></td>\n" +
                "                    </tr>\n" +
                "                  </tbody>\n" +
                "                </table>\n" +
                "              </div>\n" +
                "            </div>\n" +
                "          </span>\n" +
                "        </div>\n" +
                "      </div>\n" +
                "    </div>\n" +
                "  </includetail>\n" +
                "</div>";
    }

    /**
     * 上传的文件/资料没有通过审核以后发送邮件给上传者
     *
     * @param name     上传者的姓名
     * @param fileName 文件名
     * @param time     时间
     * @param reason   理由
     * @return email
     */
    public static String emailForPassUploadFile(String name, String fileName, String time, String reason) {
        return "\n" +
                "<div>\n" +
                "  <includetail>\n" +
                "    <div align=\"center\">\n" +
                "      <div class=\"open_email\" style=\"margin-left: 8px; margin-top: 8px; margin-bottom: 8px; margin-right: 8px;\">\n" +
                "        <div>\n" +
                "          <br>\n" +
                "          <span class=\"genEmailContent\">\n" +
                "            <div id=\"cTMail-Wrap\"\n" +
                "              style=\"word-break: break-all;box-sizing:border-box;text-align:center;min-width:320px; max-width:660px; border:1px solid #f6f6f6; background-color:#f7f8fa; margin:auto; padding:20px 0 30px; font-family:'helvetica neue',PingFangSC-Light,arial,'hiragino sans gb','microsoft yahei ui','microsoft yahei',simsun,sans-serif\">\n" +
                "              <div class=\"main-content\" style=\"\">\n" +
                "                <table style=\"width:100%;font-weight:300;margin-bottom:10px;border-collapse:collapse\">\n" +
                "                  <tbody>\n" +
                "                    <tr style=\"font-weight:300\">\n" +
                "                      <td style=\"width:3%;max-width:30px;\"></td>\n" +
                "                      <td style=\"max-width:600px;\">\n" +
                "                        <div id=\"cTMail-logo\" style=\"width:500px; height:25px;\">\n" +
                "                          <a href=\"\" style=\"text-decoration: none;\">\n" +
                "                            <div\n" +
                "                              style=\"width:50px; height:50px;vertical-align: middle;display: inline-block;background: url('https://sap-1256773093.cos.ap-nanjing.myqcloud.com/%E9%82%AE%E4%BB%B6%E5%9B%BE%E7%89%87logo.png'); background-size: cover; \">\n" +
                "                            </div>\n" +
                "\n" +
                "                            <span\n" +
                "                              style=\"color: #000; display: inline-block;font-size: 25px;font-weight: 700;letter-spacing: 5px;height:40px;line-height: 40px;margin-left: 5px;\">软件协会</span>\n" +
                "                          </a>\n" +
                "                        </div>\n" +
                "                        <p\n" +
                "                          style=\"height:2px;background-color: #00a4ff;border: 0;font-size:0;padding:0;width:100%;margin-top:20px;\">\n" +
                "                        </p>\n" +
                "\n" +
                "                        <div id=\"cTMail-inner\"\n" +
                "                          style=\"background-color:#fff; padding:23px 0 20px;box-shadow: 0px 1px 1px 0px rgba(122, 55, 55, 0.2);text-align:left;\">\n" +
                "                          <table\n" +
                "                            style=\"width:100%;font-weight:300;margin-bottom:10px;border-collapse:collapse;text-align:left;\">\n" +
                "                            <tbody>\n" +
                "                              <tr style=\"font-weight:300\">\n" +
                "                                <td style=\"width:3.2%;max-width:30px;\"></td>\n" +
                "                                <td style=\"max-width:480px;text-align:left;\">\n" +
                "                                  <h1 id=\"cTMail-title\"\n" +
                "                                    style=\"font-size: 20px; line-height: 36px; margin: 0px 0px 22px;\">\n" +
                "                                    【软件协会】上传资料审核未通过\n" +
                "                                  </h1>\n" +
                "\n" +
                "                                  <p id=\"cTMail-userName\"\n" +
                "                                    style=\"font-size:14px;color:#333; line-height:24px; margin:0;\">\n" +
                "                                    <span style=\"font-weight: 700;\">"+name+"同学</span>，您好！\n" +
                "                                  </p>\n" +
                "\n" +
                "                                  <p class=\"cTMail-content\"\n" +
                "                                    style=\"line-height: 24px; margin: 6px 0px 0px; overflow-wrap: break-word; word-break: break-all;\">\n" +
                "                                    <span style=\"color: rgb(51, 51, 51); font-size: 14px;\">\n" +
                "                                      你于"+time+" 上传的<strong> "+fileName+"</strong> 审核未通过！\n" +
                "                                    </span>\n" +
                "                                  </p>\n" +
                "                                  <p class=\"cTMail-content\"\n" +
                "                                    style=\"line-height: 24px; margin: 6px 0px 0px; overflow-wrap: break-word; word-break: break-all;\">\n" +
                "                                    <span style=\"color: rgb(51, 51, 51); font-size: 14px;\">\n" +
                "                                      审核未通过原因：有错误代码\n" +
                "                                    </span>\n" +
                "                                  </p>\n" +
                "                                  <p class=\"cTMail-content\"\n" +
                "                                    style=\"line-height: 24px; margin: 6px 0px 0px; overflow-wrap: break-word; word-break: break-all;\">\n" +
                "                                    <span style=\"color: rgb(51, 51, 51); font-size: 14px;\">\n" +
                "                                      请根据拒绝原因修改以后重新上传，感谢你的支持！\n" +
                "                                    </span>\n" +
                "                                  </p>\n" +
                "                                  <p class=\"cTMail-content\"\n" +
                "                                    style=\"line-height: 24px; margin: 6px 0px 0px; overflow-wrap: break-word; word-break: break-all;\">\n" +
                "                                    <span style=\"color: rgb(51, 51, 51); font-size: 14px;\">\n" +
                "\n" +
                "                                    </span>\n" +
                "                                  </p>\n" +
                "                                  <dl style=\"font-size: 14px; color: rgb(51, 51, 51); line-height: 18px;\">\n" +
                "                                    <dd style=\"margin: 0px 0px 6px; padding: 0px; font-size: 12px; line-height: 22px;\">\n" +
                "                                      <div style=\"float: left;\">\n" +
                "                                        <p id=\"cTMail-sender\"\n" +
                "                                          style=\"font-size: 14px; line-height: 26px; word-wrap: break-word; word-break: break-all; margin-top: 32px;\">\n" +
                "                                          此致\n" +
                "                                          <br>\n" +
                "                                          <strong>软件协会</strong>\n" +
                "                                          <br>\n" +
                "                                          "+getTime()+"\n" +
                "                                        </p>\n" +
                "                                        万维网连接五大洲，二进制写进天下事，祝你成功!\n" +
                "                                      </div>\n" +
                "                                      <div\n" +
                "                                        style=\"float: right; width: 160px;height:160px;background: url('https://sap-1256773093.cos.ap-nanjing.myqcloud.com/%E9%82%AE%E4%BB%B6%E5%9B%BE%E7%89%871.png'); background-size: cover;\">\n" +
                "\n" +
                "                                      </div>\n" +
                "\n" +
                "                                    </dd>\n" +
                "                                  </dl>\n" +
                "                                </td>\n" +
                "                                <td style=\"width:3.2%;max-width:30px;\"></td>\n" +
                "                              </tr>\n" +
                "                            </tbody>\n" +
                "                          </table>\n" +
                "                        </div>\n" +
                "\n" +
                "                        <div id=\"cTMail-copy\" style=\"text-align:center; font-size:12px; line-height:18px; color:#999\">\n" +
                "                          <table style=\"width:100%;font-weight:300;margin-bottom:10px;border-collapse:collapse\">\n" +
                "                            <tbody>\n" +
                "                              <tr style=\"font-weight:300\">\n" +
                "                                <td style=\"width:3.2%;max-width:30px;\"></td>\n" +
                "                                <td style=\"max-width:540px;\">\n" +
                "\n" +
                "                                  <p style=\"text-align:center; margin:20px auto 14px auto;font-size:12px;color:#999;\">\n" +
                "                                    此为系统邮件，请勿回复。\n" +
                "\n" +
                "                                  </p>\n" +
                "\n" +
                "                                  <p id=\"cTMail-rights\"\n" +
                "                                    style=\"max-width: 100%; margin:auto;font-size:12px;color:#999;text-align:center;line-height:22px;\">\n" +
                "                                  <div\n" +
                "                                    style=\"width:100px; height:100px; margin:0 auto;border: 1px solid rgb(211, 211, 211);background: url('https://sap-1256773093.cos.ap-nanjing.myqcloud.com/%E5%AE%98Q%E4%BA%8C%E7%BB%B4%E7%A0%81.png'); background-size: cover;\">\n" +
                "                                  </div>\n" +
                "                                  <p style=\"text-align:center; margin:20px auto 14px auto;font-size:12px;color:#999;\">\n" +
                "                                    关注软件协会官方QQ，了解更多！\n" +
                "\n" +
                "                                  </p>\n" +
                "\n" +
                "                                  <br>\n" +
                "\n" +
                "                                  </p>\n" +
                "                                </td>\n" +
                "                                <td style=\"width:3.2%;max-width:30px;\"></td>\n" +
                "                              </tr>\n" +
                "                            </tbody>\n" +
                "                          </table>\n" +
                "                        </div>\n" +
                "                      </td>\n" +
                "                      <td style=\"width:3%;max-width:30px;\"></td>\n" +
                "                    </tr>\n" +
                "                  </tbody>\n" +
                "                </table>\n" +
                "              </div>\n" +
                "            </div>\n" +
                "          </span>\n" +
                "        </div>\n" +
                "      </div>\n" +
                "    </div>\n" +
                "  </includetail>\n" +
                "</div>";
    }

    /**
     * 上传的文件/资料后发送给会长，告诉它有人上传资料
     *
     * @param name     上传者的姓名
     * @param fileName 文件名
     * @param time     时间
     * @return email
     */
    public static String emailForPassUploadFileToManager(String name, String fileName, String time) {
        return "\n" +
                "<!doctype html>\n" +
                "<html>\n" +
                "<head>\n" +
                "<meta charset='UTF-8'><meta name='viewport' content='width=device-width initial-scale=1'>\n" +
                "<title></title>\n" +
                "</head>\n" +
                "<body><p>Hi，<strong>软件协会会长</strong></p>\n" +
                "<p>\t<strong>" + name + "于</strong><strong>" + time + "</strong>上传的文件/资料(<strong>" + fileName + "</strong>)需要审核</p>\n" +
                "<p><strong>中南林业科技大学软件协会</strong></p>\n" +
                "</body>\n" +
                "</html>";
    }

    /**
     * 修改的文件/资料后发送给会长，告诉它有人上传资料
     *
     * @param name     上传者的姓名
     * @param fileName 文件名
     * @param time     时间
     * @return email
     */
    public static String emailForPassModifyFileToManager(String name, String fileName, String time) {
        return "\n" +
                "<!doctype html>\n" +
                "<html>\n" +
                "<head>\n" +
                "<meta charset='UTF-8'><meta name='viewport' content='width=device-width initial-scale=1'>\n" +
                "<title></title>\n" +
                "</head>\n" +
                "<body><p>Hi，<strong>软件协会会长</strong></p>\n" +
                "<p>\t<strong>" + name + "于</strong><strong>" + time + "</strong>更改的文件/资料(<strong>" + fileName + "</strong>)需要审核</p>\n" +
                "<p><strong>中南林业科技大学软件协会</strong></p>\n" +
                "</body>\n" +
                "</html>";
    }

    public static String emailForCommitAdviceOrQuestion(SapAdviceOrQuestion sapAdviceOrQuestion) {
        String type = sapAdviceOrQuestion.getType() == 0 ? "提交新建议" : "提交BUG反馈";
        SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy年MM月dd日 HH:mm:ss E");
        String imgShow = sapAdviceOrQuestion.getImgPath() != null ? "<img src=\"" + sapAdviceOrQuestion.getImgPath() + "\" alt=\"错误显示\" width=\"100%\">\n" : "";
        return "\n" +
                "<!doctype html>\n" +
                "<html>\n" +
                "<head>\n" +
                "<meta charset='UTF-8'><meta name='viewport' content='width=device-width initial-scale=1'>\n" +
                "<title></title>\n" +
                "</head>\n" +
                "<body><p>Hi，<strong>软件协会会长</strong></p>\n" +
                "<p>\t<strong>【" + sapAdviceOrQuestion.getUsername() + "】" + sapAdviceOrQuestion.getUserRealName() + "</strong>于" + simpleDateFormat.format(sapAdviceOrQuestion.getTime()) + type + "\n" +
                "<p>标题：" + sapAdviceOrQuestion.getTitle() + "</p>\n" +
                "<p>问题描述：" + sapAdviceOrQuestion.getDescribe() + "</p>\n" +
                imgShow +
                "</body>\n" +
                "</html>";
    }

    /**
     * 获得奖品通知
     * @param name 获奖人姓名
     * @param context 获奖的活动名字
     * @param price 获得的奖品
     * @return 字符串
     */
    public static String emailForPriceDraw(String name,String context,String price){
        return "\n" +
                "<div>\n" +
                "  <includetail>\n" +
                "    <div align=\"center\">\n" +
                "      <div class=\"open_email\" style=\"margin-left: 8px; margin-top: 8px; margin-bottom: 8px; margin-right: 8px;\">\n" +
                "        <div>\n" +
                "          <br>\n" +
                "          <span class=\"genEmailContent\">\n" +
                "            <div id=\"cTMail-Wrap\"\n" +
                "              style=\"word-break: break-all;box-sizing:border-box;text-align:center;min-width:320px; max-width:660px; border:1px solid #f6f6f6; background-color:#f7f8fa; margin:auto; padding:20px 0 30px; font-family:'helvetica neue',PingFangSC-Light,arial,'hiragino sans gb','microsoft yahei ui','microsoft yahei',simsun,sans-serif\">\n" +
                "              <div class=\"main-content\" style=\"\">\n" +
                "                <table style=\"width:100%;font-weight:300;margin-bottom:10px;border-collapse:collapse\">\n" +
                "                  <tbody>\n" +
                "                    <tr style=\"font-weight:300\">\n" +
                "                      <td style=\"width:3%;max-width:30px;\"></td>\n" +
                "                      <td style=\"max-width:600px;\">\n" +
                "                        <div id=\"cTMail-logo\" style=\"width:500px; height:25px;\">\n" +
                "                          <a href=\"\" style=\"text-decoration: none;\">\n" +
                "                            <div\n" +
                "                              style=\"width:50px; height:50px;vertical-align: middle;display: inline-block;background: url('https://sap-1256773093.cos.ap-nanjing.myqcloud.com/%E9%82%AE%E4%BB%B6%E5%9B%BE%E7%89%87logo.png'); background-size: cover; \">\n" +
                "                            </div>\n" +
                "\n" +
                "                            <span\n" +
                "                              style=\"color: #000; display: inline-block;font-size: 25px;font-weight: 700;letter-spacing: 5px;height:40px;line-height: 40px;margin-left: 5px;\">软件协会</span>\n" +
                "                          </a>\n" +
                "                        </div>\n" +
                "                        <p\n" +
                "                          style=\"height:2px;background-color: #00a4ff;border: 0;font-size:0;padding:0;width:100%;margin-top:20px;\">\n" +
                "                        </p>\n" +
                "\n" +
                "                        <div id=\"cTMail-inner\"\n" +
                "                          style=\"background-color:#fff; padding:23px 0 20px;box-shadow: 0px 1px 1px 0px rgba(122, 55, 55, 0.2);text-align:left;\">\n" +
                "                          <table\n" +
                "                            style=\"width:100%;font-weight:300;margin-bottom:10px;border-collapse:collapse;text-align:left;\">\n" +
                "                            <tbody>\n" +
                "                              <tr style=\"font-weight:300\">\n" +
                "                                <td style=\"width:3.2%;max-width:30px;\"></td>\n" +
                "                                <td style=\"max-width:480px;text-align:left;\">\n" +
                "                                  <h1 id=\"cTMail-title\"\n" +
                "                                    style=\"font-size: 20px; line-height: 36px; margin: 0px 0px 22px;\">\n" +
                "                                    【软件协会】获奖通知\n" +
                "                                  </h1>\n" +
                "\n" +
                "                                  <p id=\"cTMail-userName\"\n" +
                "                                    style=\"font-size:16px;color:#333; line-height:24px; margin:0;\">\n" +
                "                                    <span style=\"font-weight: 700;\">"+name+"同学</span>，您好！\n" +
                "                                  </p>\n" +
                "\n" +
                "                                  <p class=\"cTMail-content\"\n" +
                "                                    style=\"line-height: 24px; margin: 6px 0px 0px; overflow-wrap: break-word; word-break: break-all;\">\n" +
                "                                    <span style=\"color: rgb(51, 51, 51); font-size: 16px;\">\n" +
                "                                      \uD83C\uDF89\uD83C\uDF89\uD83C\uDF89恭喜你在软件协会的<strong>"+context+"抽奖活动</strong>中获得奖品\uD83C\uDF81<strong>"+price+"*1</strong>\uD83C\uDF81!\n" +
                "                                    </span>\n" +
                "                                  </p>\n" +
                "                                  <p class=\"cTMail-content\"\n" +
                "                                    style=\"line-height: 24px; margin: 6px 0px 0px; overflow-wrap: break-word; word-break: break-all;\">\n" +
                "                                    <span style=\"color: rgb(51, 51, 51); font-size: 14px;\">\n" +
                "\n" +
                "                                    </span>\n" +
                "                                  </p>\n" +
                "                                  <dl style=\"font-size: 14px; color: rgb(51, 51, 51); line-height: 18px;\">\n" +
                "                                    <dd style=\"margin: 0px 0px 6px; padding: 0px; font-size: 12px; line-height: 22px;\">\n" +
                "                                      <div style=\"float: left;\">\n" +
                "                                        <p id=\"cTMail-sender\"\n" +
                "                                          style=\"font-size: 14px; line-height: 26px; word-wrap: break-word; word-break: break-all; margin-top: 32px;\">\n" +
                "                                          此致\n" +
                "                                          <br>\n" +
                "                                          <strong>软件协会</strong>\n" +
                "                                          <br>\n" +
                "                                          "+getTime()+"\n" +
                "                                        </p>\n" +
                "                                        万维网连接五大洲，二进制写进天下事，祝你成功!\n" +
                "                                      </div>\n" +
                "                                      <div\n" +
                "                                        style=\"float: right; width: 160px;height:160px;background: url('https://sap-1256773093.cos.ap-nanjing.myqcloud.com/%E9%82%AE%E4%BB%B6%E5%9B%BE%E7%89%871.png'); background-size: cover;\">\n" +
                "\n" +
                "                                      </div>\n" +
                "\n" +
                "                                    </dd>\n" +
                "                                  </dl>\n" +
                "                                </td>\n" +
                "                                <td style=\"width:3.2%;max-width:30px;\"></td>\n" +
                "                              </tr>\n" +
                "                            </tbody>\n" +
                "                          </table>\n" +
                "                        </div>\n" +
                "\n" +
                "                        <div id=\"cTMail-copy\" style=\"text-align:center; font-size:12px; line-height:18px; color:#999\">\n" +
                "                          <table style=\"width:100%;font-weight:300;margin-bottom:10px;border-collapse:collapse\">\n" +
                "                            <tbody>\n" +
                "                              <tr style=\"font-weight:300\">\n" +
                "                                <td style=\"width:3.2%;max-width:30px;\"></td>\n" +
                "                                <td style=\"max-width:540px;\">\n" +
                "\n" +
                "                                  <p style=\"text-align:center; margin:20px auto 14px auto;font-size:12px;color:#999;\">\n" +
                "                                    此为系统邮件，请勿回复。\n" +
                "\n" +
                "                                  </p>\n" +
                "\n" +
                "                                  <p id=\"cTMail-rights\"\n" +
                "                                    style=\"max-width: 100%; margin:auto;font-size:12px;color:#999;text-align:center;line-height:22px;\">\n" +
                "                                  <div\n" +
                "                                    style=\"width:100px; height:100px; margin:0 auto;border: 1px solid rgb(211, 211, 211);background: url('https://sap-1256773093.cos.ap-nanjing.myqcloud.com/%E5%AE%98Q%E4%BA%8C%E7%BB%B4%E7%A0%81.png'); background-size: cover;\">\n" +
                "                                  </div>\n" +
                "                                  <p style=\"text-align:center; margin:20px auto 14px auto;font-size:12px;color:#999;\">\n" +
                "                                    关注软件协会官方QQ，了解更多！\n" +
                "\n" +
                "                                  </p>\n" +
                "\n" +
                "                                  <br>\n" +
                "\n" +
                "                                  </p>\n" +
                "                                </td>\n" +
                "                                <td style=\"width:3.2%;max-width:30px;\"></td>\n" +
                "                              </tr>\n" +
                "                            </tbody>\n" +
                "                          </table>\n" +
                "                        </div>\n" +
                "                      </td>\n" +
                "                      <td style=\"width:3%;max-width:30px;\"></td>\n" +
                "                    </tr>\n" +
                "                  </tbody>\n" +
                "                </table>\n" +
                "              </div>\n" +
                "            </div>\n" +
                "          </span>\n" +
                "        </div>\n" +
                "      </div>\n" +
                "    </div>\n" +
                "  </includetail>\n" +
                "</div>";
    }

    /**
     * 发送邮件劝一下注册了软件协会官网但是没有加入软件协会的同学
     * 最后劝他们一次加入软件协会！！！
     * @param name 姓名
     * @param qq 会长qq
     * @return 字符串
     */
    public static String sendEmailToOtherNotJoinSapAndRegisterSapUserName(String name,String qq){
        return "\n" +
                "<div>\n" +
                "  <includetail>\n" +
                "    <div align=\"center\">\n" +
                "      <div class=\"open_email\" style=\"margin-left: 8px; margin-top: 8px; margin-bottom: 8px; margin-right: 8px;\">\n" +
                "        <div>\n" +
                "          <br>\n" +
                "          <span class=\"genEmailContent\">\n" +
                "            <div id=\"cTMail-Wrap\"\n" +
                "              style=\"word-break: break-all;box-sizing:border-box;text-align:center;min-width:320px; max-width:660px; border:1px solid #f6f6f6; background-color:#f7f8fa; margin:auto; padding:20px 0 30px; font-family:'helvetica neue',PingFangSC-Light,arial,'hiragino sans gb','microsoft yahei ui','microsoft yahei',simsun,sans-serif\">\n" +
                "              <div class=\"main-content\" style=\"\">\n" +
                "                <table style=\"width:100%;font-weight:300;margin-bottom:10px;border-collapse:collapse\">\n" +
                "                  <tbody>\n" +
                "                    <tr style=\"font-weight:300\">\n" +
                "                      <td style=\"width:3%;max-width:30px;\"></td>\n" +
                "                      <td style=\"max-width:600px;\">\n" +
                "                        <div id=\"cTMail-logo\" style=\"width:500px; height:25px;\">\n" +
                "                          <a href=\"\" style=\"text-decoration: none;\">\n" +
                "                            <div\n" +
                "                              style=\"width:50px; height:50px;vertical-align: middle;display: inline-block;background: url('https://sap-1256773093.cos.ap-nanjing.myqcloud.com/%E9%82%AE%E4%BB%B6%E5%9B%BE%E7%89%87logo.png'); background-size: cover; \">\n" +
                "                            </div>\n" +
                "\n" +
                "                            <span\n" +
                "                              style=\"color: #000; display: inline-block;font-size: 25px;font-weight: 700;letter-spacing: 5px;height:40px;line-height: 40px;margin-left: 5px;\">软件协会</span>\n" +
                "                          </a>\n" +
                "                        </div>\n" +
                "                        <p\n" +
                "                          style=\"height:2px;background-color: #00a4ff;border: 0;font-size:0;padding:0;width:100%;margin-top:20px;\">\n" +
                "                        </p>\n" +
                "\n" +
                "                        <div id=\"cTMail-inner\"\n" +
                "                          style=\"background-color:#fff; padding:23px 0 20px;box-shadow: 0px 1px 1px 0px rgba(122, 55, 55, 0.2);text-align:left;\">\n" +
                "                          <table\n" +
                "                            style=\"width:100%;font-weight:300;margin-bottom:10px;border-collapse:collapse;text-align:left;\">\n" +
                "                            <tbody>\n" +
                "                              <tr style=\"font-weight:300\">\n" +
                "                                <td style=\"width:3.2%;max-width:30px;\"></td>\n" +
                "                                <td style=\"max-width:480px;text-align:left;\">\n" +
                "                                  <h1 id=\"cTMail-title\"\n" +
                "                                    style=\"font-size: 20px; line-height: 36px; margin: 0px 0px 22px;\">\n" +
                "                                    【软件协会】软件协会招新火热进行中\n" +
                "                                  </h1>\n" +
                "\n" +
                "                                  <p id=\"cTMail-userName\"\n" +
                "                                    style=\"font-size:14px;color:#333; line-height:24px; margin:0;\">\n" +
                "                                    <span style=\"font-weight: 700;\">"+name+"同学</span>，您好！\n" +
                "                                  </p>\n" +
                "\n" +
                "                                  <p class=\"cTMail-content\"\n" +
                "                                    style=\"line-height: 24px; margin: 6px 0px 0px; overflow-wrap: break-word; word-break: break-all;text-indent:2em;\">\n" +
                "                                    <span style=\"color: rgb(51, 51, 51); font-size: 14px;\">\n" +
                "                                      ❓你是否还在犹豫要不要加入软件协会？！\n" +
                "                                    </span>\n" +
                "                                  </p>\n" +
                "                                  <p class=\"cTMail-content\"\n" +
                "                                    style=\"line-height: 24px; margin: 6px 0px 0px; overflow-wrap: break-word; word-break: break-all;text-indent:2em;\">\n" +
                "                                    <span style=\"color: rgb(51, 51, 51); font-size: 14px;\">\n" +
                "                                      ☑️如果你是计信学院的同学，那么可以告诉你闭眼入！真的闭眼入！之后学C语言和C++的时候真的大有帮助！\n" +
                "                                    </span>\n" +
                "                                  </p>\n" +
                "                                  <p class=\"cTMail-content\"\n" +
                "                                    style=\"line-height: 24px; margin: 6px 0px 0px; overflow-wrap: break-word; word-break: break-all;text-indent:2em;\">\n" +
                "                                    <span style=\"color: rgb(51, 51, 51); font-size: 14px;\">\n" +
                "                                      ☑️如果你是其他学院的同学，那么也可以加入我们软件协会，只要你对编程感兴趣，或者你有转专业的意向，就赶紧来加入吧！很多其他学院的专业比赛也需要具备一定的编程能力，而且你们专业课程或多或少也会学习一门编程语言！来和软协的小伙伴一起学习吧！\n" +
                "                                    </span>\n" +
                "                                  </p>\n" +
                "                                  <p class=\"cTMail-content\"\n" +
                "                                    style=\"line-height: 24px; margin: 6px 0px 0px; overflow-wrap: break-word; word-break: break-all;text-indent:2em;\">\n" +
                "                                    <span style=\"color: rgb(51, 51, 51); font-size: 14px;\">\n" +
                "                                      ❗尤其强调！我们接受完全小白！你只要会开机，会认识键盘字母就行！不要不好意思！不要害怕问问题！再傻的问题软协成员都会为你解答！我们秉持负责到底的态度！哪怕你保研考研工作了都可以和我们进行学术或者学术之外的交流！\n" +
                "                                    </span>\n" +
                "                                  </p>\n" +
                "                                  <p class=\"cTMail-content\"\n" +
                "                                    style=\"line-height: 24px; margin: 6px 0px 0px; overflow-wrap: break-word; word-break: break-all;text-indent:2em;\">\n" +
                "                                    <span style=\"color: rgb(51, 51, 51); font-size: 14px;\">\n" +
                "                                      ❗目前软协2022届招新已有200+，其中22级 21级\n" +
                "                                      20级的朋友都有，甚至还有63岁的老爷爷（华中科技大学）对我们协会感兴趣注册了官网入了会！发展的越来越好的软协确定不加入一下嘛？\n" +
                "                                    </span>\n" +
                "                                  </p>\n" +
                "                                  <p class=\"cTMail-content\"\n" +
                "                                    style=\"text-align: center; line-height: 24px; margin: 6px 0px 0px; overflow-wrap: break-word; word-break: break-all;\">\n" +
                "                                    <span style=\"color: rgb(51, 51, 51); font-size: 14px;\">\n" +
                "\n" +
                "                                    </span>\n" +
                "                                  </p>\n" +
                "                                  <dl style=\"font-size: 14px; color: rgb(51, 51, 51); line-height: 18px;\">\n" +
                "                                    <dd style=\"margin: 0px 0px 6px; padding: 0px; font-size: 12px; line-height: 22px;\">\n" +
                "                                      <div style=\"float: left;\">\n" +
                "                                        <p id=\"cTMail-sender\"\n" +
                "                                          style=\"font-size: 14px; line-height: 26px; word-wrap: break-word; word-break: break-all; margin-top: 32px;\">\n" +
                "                                          此致\n" +
                "                                          <br>\n" +
                "                                          <strong>软件协会</strong>\n" +
                "                                          <br>\n" +
                "                                          如果真的心动了，请添加QQ:"+qq+"\n" +
                "                                        </p>\n" +
                "                                        万维网连接五大洲，二进制写进天下事，祝你成功!\n" +
                "                                      </div>\n" +
                "                                      <div\n" +
                "                                        style=\"float: right; width: 160px;height:160px;background: url('https://sap-1256773093.cos.ap-nanjing.myqcloud.com/%E9%82%AE%E4%BB%B6%E5%9B%BE%E7%89%871.png'); background-size: cover;\">\n" +
                "\n" +
                "                                      </div>\n" +
                "\n" +
                "                                    </dd>\n" +
                "                                  </dl>\n" +
                "                                </td>\n" +
                "                                <td style=\"width:3.2%;max-width:30px;\"></td>\n" +
                "                              </tr>\n" +
                "                            </tbody>\n" +
                "                          </table>\n" +
                "                        </div>\n" +
                "\n" +
                "                        <div id=\"cTMail-copy\" style=\"text-align:center; font-size:12px; line-height:18px; color:#999\">\n" +
                "                          <table style=\"width:100%;font-weight:300;margin-bottom:10px;border-collapse:collapse\">\n" +
                "                            <tbody>\n" +
                "                              <tr style=\"font-weight:300\">\n" +
                "                                <td style=\"width:3.2%;max-width:30px;\"></td>\n" +
                "                                <td style=\"max-width:540px;\">\n" +
                "\n" +
                "                                  <p style=\"text-align:center; margin:20px auto 14px auto;font-size:12px;color:#999;\">\n" +
                "                                    此为系统邮件，请勿回复。\n" +
                "\n" +
                "                                  </p>\n" +
                "\n" +
                "                                  <p id=\"cTMail-rights\"\n" +
                "                                    style=\"max-width: 100%; margin:auto;font-size:12px;color:#999;text-align:center;line-height:22px;\">\n" +
                "                                  <div\n" +
                "                                    style=\"width:100px; height:100px; margin:0 auto;border: 1px solid rgb(211, 211, 211);background: url('https://sap-1256773093.cos.ap-nanjing.myqcloud.com/%E5%AE%98Q%E4%BA%8C%E7%BB%B4%E7%A0%81.png'); background-size: cover;\">\n" +
                "                                  </div>\n" +
                "                                  <p style=\"text-align:center; margin:20px auto 14px auto;font-size:12px;color:#999;\">\n" +
                "                                    关注软件协会官方QQ，了解更多！\n" +
                "\n" +
                "                                  </p>\n" +
                "\n" +
                "                                  <br>\n" +
                "\n" +
                "                                  </p>\n" +
                "                                </td>\n" +
                "                                <td style=\"width:3.2%;max-width:30px;\"></td>\n" +
                "                              </tr>\n" +
                "                            </tbody>\n" +
                "                          </table>\n" +
                "                        </div>\n" +
                "                      </td>\n" +
                "                      <td style=\"width:3%;max-width:30px;\"></td>\n" +
                "                    </tr>\n" +
                "                  </tbody>\n" +
                "                </table>\n" +
                "              </div>\n" +
                "            </div>\n" +
                "          </span>\n" +
                "        </div>\n" +
                "      </div>\n" +
                "    </div>\n" +
                "  </includetail>\n" +
                "</div>";
    }

    /**
     * 当有成员提交学习成果以后发送邮件给负责人告诉负责人改去打分了
     * @param managerName 负责人姓名
     * @param name 成员姓名
     * @param qq 成员qq
     * @param time 上交时间
     * @return 字符串
     */
    public static String sendEmailToManagerForPeopleSubmitTask(String managerName,String name,String qq,String time){
        return "\n" +
                "<div>\n" +
                "  <includetail>\n" +
                "    <div align=\"center\">\n" +
                "      <div class=\"open_email\" style=\"margin-left: 8px; margin-top: 8px; margin-bottom: 8px; margin-right: 8px;\">\n" +
                "        <div>\n" +
                "          <br>\n" +
                "          <span class=\"genEmailContent\">\n" +
                "            <div id=\"cTMail-Wrap\"\n" +
                "              style=\"word-break: break-all;box-sizing:border-box;text-align:center;min-width:320px; max-width:660px; border:1px solid #f6f6f6; background-color:#f7f8fa; margin:auto; padding:20px 0 30px; font-family:'helvetica neue',PingFangSC-Light,arial,'hiragino sans gb','microsoft yahei ui','microsoft yahei',simsun,sans-serif\">\n" +
                "              <div class=\"main-content\" style=\"\">\n" +
                "                <table style=\"width:100%;font-weight:300;margin-bottom:10px;border-collapse:collapse\">\n" +
                "                  <tbody>\n" +
                "                    <tr style=\"font-weight:300\">\n" +
                "                      <td style=\"width:3%;max-width:30px;\"></td>\n" +
                "                      <td style=\"max-width:600px;\">\n" +
                "                        <div id=\"cTMail-logo\" style=\"width:500px; height:25px;\">\n" +
                "                          <a href=\"\" style=\"text-decoration: none;\">\n" +
                "                            <div\n" +
                "                              style=\"width:50px; height:50px;vertical-align: middle;display: inline-block;background: url('https://sap-1256773093.cos.ap-nanjing.myqcloud.com/%E9%82%AE%E4%BB%B6%E5%9B%BE%E7%89%87logo.png'); background-size: cover; \">\n" +
                "                            </div>\n" +
                "\n" +
                "                            <span\n" +
                "                              style=\"color: #000; display: inline-block;font-size: 25px;font-weight: 700;letter-spacing: 5px;height:40px;line-height: 40px;margin-left: 5px;\">软件协会</span>\n" +
                "                          </a>\n" +
                "                        </div>\n" +
                "                        <p\n" +
                "                          style=\"height:2px;background-color: #00a4ff;border: 0;font-size:0;padding:0;width:100%;margin-top:20px;\">\n" +
                "                        </p>\n" +
                "\n" +
                "                        <div id=\"cTMail-inner\"\n" +
                "                          style=\"background-color:#fff; padding:23px 0 20px;box-shadow: 0px 1px 1px 0px rgba(122, 55, 55, 0.2);text-align:left;\">\n" +
                "                          <table\n" +
                "                            style=\"width:100%;font-weight:300;margin-bottom:10px;border-collapse:collapse;text-align:left;\">\n" +
                "                            <tbody>\n" +
                "                              <tr style=\"font-weight:300\">\n" +
                "                                <td style=\"width:3.2%;max-width:30px;\"></td>\n" +
                "                                <td style=\"max-width:480px;text-align:left;\">\n" +
                "                                  <h1 id=\"cTMail-title\"\n" +
                "                                    style=\"font-size: 20px; line-height: 36px; margin: 0px 0px 22px;\">\n" +
                "                                    【软件协会】您有新的周任务待评\n" +
                "                                  </h1>\n" +
                "\n" +
                "                                  <p id=\"cTMail-userName\"\n" +
                "                                    style=\"font-size:14px;color:#333; line-height:24px; margin:0;\">\n" +
                "                                    <span style=\"font-weight: 700;\">"+managerName+"同学</span>，您好！\n" +
                "                                  </p>\n" +
                "\n" +
                "                                  <p class=\"cTMail-content\"\n" +
                "                                    style=\"line-height: 24px; margin: 6px 0px 0px; overflow-wrap: break-word; word-break: break-all;\">\n" +
                "                                    <span style=\"color: rgb(51, 51, 51); font-size: 14px;\">\n" +
                "                                      你所负责的"+name+"("+qq+")已经上传了这周的学习作业，上传时间为："+getTime()+"\n" +
                "                                    </span>\n" +
                "                                  </p>\n" +
                "                                  <p class=\"cTMail-content\"\n" +
                "                                    style=\"line-height: 24px; margin: 6px 0px 0px; overflow-wrap: break-word; word-break: break-all;\">\n" +
                "                                    <span style=\"color: rgb(51, 51, 51); font-size: 14px;\">\n" +
                "                                      请收到邮件以后及时评价，评价请保持公平公正，一定要根据作业内容写评语。\n" +
                "                                    </span>\n" +
                "                                  </p>\n" +
                "                                  <p class=\"cTMail-content\"\n" +
                "                                    style=\"line-height: 24px; margin: 6px 0px 0px; overflow-wrap: break-word; word-break: break-all;\">\n" +
                "                                    <span style=\"color: rgb(51, 51, 51); font-size: 14px;\">\n" +
                "                                      <ul style=\"color: rgb(51, 51, 51); font-size: 14px;\">\n" +
                "                                        <li>笔记:根据上交内容的丰富程度打分</li>\n" +
                "                                        <li>学习深度:根据完成任务的深度打分</li>\n" +
                "                                        <li>学习热情:根据上交时间的快慢打分</li>\n" +
                "                                        <li>总结:根据他们写的总结打分，如果没有则自行给分</li>\n" +
                "                                        <li>综合:纯主观意愿给分</li>\n" +
                "                                      </ul>\n" +
                "                                    </span>\n" +
                "                                  </p>\n" +
                "                                  <p class=\"cTMail-content\"\n" +
                "                                    style=\"line-height: 24px; margin: 6px 0px 0px; overflow-wrap: break-word; word-break: break-all;\">\n" +
                "                                    <span style=\"color: rgb(51, 51, 51); font-size: 14px;\">\n" +
                "\n" +
                "                                    </span>\n" +
                "                                  </p>\n" +
                "                                  <dl style=\"font-size: 14px; color: rgb(51, 51, 51); line-height: 18px;\">\n" +
                "                                    <dd style=\"margin: 0px 0px 6px; padding: 0px; font-size: 12px; line-height: 22px;\">\n" +
                "                                      <div style=\"float: left;\">\n" +
                "                                        <p id=\"cTMail-sender\"\n" +
                "                                          style=\"font-size: 14px; line-height: 26px; word-wrap: break-word; word-break: break-all; margin-top: 32px;\">\n" +
                "                                          此致\n" +
                "                                          <br>\n" +
                "                                          <strong>软件协会</strong>\n" +
                "                                          <br>\n" +
                "                                          "+getTime()+"\n" +
                "                                        </p>\n" +
                "                                        万维网连接五大洲，二进制写进天下事，祝你成功!\n" +
                "                                      </div>\n" +
                "                                      <div\n" +
                "                                        style=\"float: right; width: 160px;height:160px;background: url('https://sap-1256773093.cos.ap-nanjing.myqcloud.com/%E9%82%AE%E4%BB%B6%E5%9B%BE%E7%89%871.png'); background-size: cover;\">\n" +
                "\n" +
                "                                      </div>\n" +
                "\n" +
                "                                    </dd>\n" +
                "                                  </dl>\n" +
                "                                </td>\n" +
                "                                <td style=\"width:3.2%;max-width:30px;\"></td>\n" +
                "                              </tr>\n" +
                "                            </tbody>\n" +
                "                          </table>\n" +
                "                        </div>\n" +
                "\n" +
                "                        <div id=\"cTMail-copy\" style=\"text-align:center; font-size:12px; line-height:18px; color:#999\">\n" +
                "                          <table style=\"width:100%;font-weight:300;margin-bottom:10px;border-collapse:collapse\">\n" +
                "                            <tbody>\n" +
                "                              <tr style=\"font-weight:300\">\n" +
                "                                <td style=\"width:3.2%;max-width:30px;\"></td>\n" +
                "                                <td style=\"max-width:540px;\">\n" +
                "\n" +
                "                                  <p style=\"text-align:center; margin:20px auto 14px auto;font-size:12px;color:#999;\">\n" +
                "                                    此为系统邮件，请勿回复。\n" +
                "\n" +
                "                                  </p>\n" +
                "\n" +
                "                                  <p id=\"cTMail-rights\"\n" +
                "                                    style=\"max-width: 100%; margin:auto;font-size:12px;color:#999;text-align:center;line-height:22px;\">\n" +
                "                                  <div\n" +
                "                                    style=\"width:100px; height:100px; margin:0 auto;border: 1px solid rgb(211, 211, 211);background: url('https://sap-1256773093.cos.ap-nanjing.myqcloud.com/%E5%AE%98Q%E4%BA%8C%E7%BB%B4%E7%A0%81.png'); background-size: cover;\">\n" +
                "                                  </div>\n" +
                "                                  <p style=\"text-align:center; margin:20px auto 14px auto;font-size:12px;color:#999;\">\n" +
                "                                    关注软件协会官方QQ，了解更多！\n" +
                "\n" +
                "                                  </p>\n" +
                "\n" +
                "                                  <br>\n" +
                "\n" +
                "                                  </p>\n" +
                "                                </td>\n" +
                "                                <td style=\"width:3.2%;max-width:30px;\"></td>\n" +
                "                              </tr>\n" +
                "                            </tbody>\n" +
                "                          </table>\n" +
                "                        </div>\n" +
                "                      </td>\n" +
                "                      <td style=\"width:3%;max-width:30px;\"></td>\n" +
                "                    </tr>\n" +
                "                  </tbody>\n" +
                "                </table>\n" +
                "              </div>\n" +
                "            </div>\n" +
                "          </span>\n" +
                "        </div>\n" +
                "      </div>\n" +
                "    </div>\n" +
                "  </includetail>\n" +
                "</div>";
    }

    /**
     * 发送邮件给没有上交这周学习成果的同学
     * @param name 姓名
     * @param order 没有上交的次数
     * @param time 时间
     * @return
     */
    public static String sendEmailToNotSubmitTaskForThisWeek(String name,Integer order,String time){
        return "\n" +
                "<div>\n" +
                "    <includetail>\n" +
                "        <div align=\"center\">\n" +
                "            <div class=\"open_email\" style=\"margin-left: 8px; margin-top: 8px; margin-bottom: 8px; margin-right: 8px;\">\n" +
                "                <div>\n" +
                "                    <br>\n" +
                "                    <span class=\"genEmailContent\">\n" +
                "                        <div id=\"cTMail-Wrap\"\n" +
                "                            style=\"word-break: break-all;box-sizing:border-box;text-align:center;min-width:320px; max-width:660px; border:1px solid #f6f6f6; background-color:#f7f8fa; margin:auto; padding:20px 0 30px; font-family:'helvetica neue',PingFangSC-Light,arial,'hiragino sans gb','microsoft yahei ui','microsoft yahei',simsun,sans-serif\">\n" +
                "                            <div class=\"main-content\" style=\"\">\n" +
                "                                <table style=\"width:100%;font-weight:300;margin-bottom:10px;border-collapse:collapse\">\n" +
                "                                    <tbody>\n" +
                "                                        <tr style=\"font-weight:300\">\n" +
                "                                            <td style=\"width:3%;max-width:30px;\"></td>\n" +
                "                                            <td style=\"max-width:600px;\">\n" +
                "                                                <div id=\"cTMail-logo\" style=\"width:500px; height:25px;\">\n" +
                "                                                    <a href=\"\" style=\"text-decoration: none;\">\n" +
                "                                                        <div\n" +
                "                                                            style=\"width:50px; height:50px;vertical-align: middle;display: inline-block;background: url('https://sap-1256773093.cos.ap-nanjing.myqcloud.com/%E9%82%AE%E4%BB%B6%E5%9B%BE%E7%89%87logo.png'); background-size: cover; \">\n" +
                "                                                        </div>\n" +
                "\n" +
                "                                                        <span\n" +
                "                                                            style=\"color: #000; display: inline-block;font-size: 25px;font-weight: 700;letter-spacing: 5px;height:40px;line-height: 40px;margin-left: 5px;\">软件协会</span>\n" +
                "                                                    </a>\n" +
                "                                                </div>\n" +
                "                                                <p\n" +
                "                                                    style=\"height:2px;background-color: #00a4ff;border: 0;font-size:0;padding:0;width:100%;margin-top:20px;\">\n" +
                "                                                </p>\n" +
                "\n" +
                "                                                <div id=\"cTMail-inner\"\n" +
                "                                                    style=\"background-color:#fff; padding:23px 0 20px;box-shadow: 0px 1px 1px 0px rgba(122, 55, 55, 0.2);text-align:left;\">\n" +
                "                                                    <table\n" +
                "                                                        style=\"width:100%;font-weight:300;margin-bottom:10px;border-collapse:collapse;text-align:left;\">\n" +
                "                                                        <tbody>\n" +
                "                                                            <tr style=\"font-weight:300\">\n" +
                "                                                                <td style=\"width:3.2%;max-width:30px;\"></td>\n" +
                "                                                                <td style=\"max-width:480px;text-align:left;\">\n" +
                "                                                                    <h1 id=\"cTMail-title\"\n" +
                "                                                                        style=\"font-size: 20px; line-height: 36px; margin: 0px 0px 22px;\">\n" +
                "                                                                        【软件协会】周任务上传提醒\n" +
                "                                                                    </h1>\n" +
                "\n" +
                "                                                                    <p id=\"cTMail-userName\"\n" +
                "                                                                        style=\"font-size:14px;color:#333; line-height:24px; margin:0;\">\n" +
                "                                                                        <span style=\"font-weight: 700;\">"+name+"同学</span>，您好！\n" +
                "                                                                    </p>\n" +
                "\n" +
                "                                                                    <p class=\"cTMail-content\"\n" +
                "                                                                        style=\"line-height: 24px; margin: 6px 0px 0px; overflow-wrap: break-word; word-break: break-all;text-indent:2em;\">\n" +
                "                                                                        <span\n" +
                "                                                                            style=\"color: rgb(51, 51, 51); font-size: 14px;\">\n" +
                "                                                                            软件协会学习小组每周活动，你已经连续<span style=\"color: red;font-style: 22;font-weight: 700;\">"+order+"次</span>没有上交学习成果，如果连续超过3次则会被自动屏蔽参加当前活动的之后每一周的活动，无法申诉(之后重新开始活动仍然可以加入)\n" +
                "                                                                            !\n" +
                "                                                                        </span>\n" +
                "                                                                    </p>\n" +
                "                                                                    <p class=\"cTMail-content\"\n" +
                "                                                                        style=\"line-height: 24px; margin: 6px 0px 0px; overflow-wrap: break-word; word-break: break-all;text-indent:2em;\">\n" +
                "                                                                        <span\n" +
                "                                                                            style=\"color: rgb(51, 51, 51); font-size: 14px;\">\n" +
                "                                                                            如果有什么特殊情况，请收到邮件以后主动联系自己的负责人说明情况，如果没有特殊情况，请及时上交自己这周的学习成功!\n" +
                "                                                                        </span>\n" +
                "                                                                    </p>\n" +
                "                                                                    <p class=\"cTMail-content\"\n" +
                "                                                                        style=\"line-height: 24px; margin: 6px 0px 0px; overflow-wrap: break-word; word-break: break-all;text-indent:2em;\">\n" +
                "                                                                        <span\n" +
                "                                                                            style=\"color: rgb(51, 51, 51); font-size: 14px;\">\n" +
                "                                                                            如果有其他疑问，请到软件协会正式群里询问，我们会积极回答你的疑问!\n" +
                "                                                                        </span>\n" +
                "                                                                    </p>\n" +
                "                                                                    <p class=\"cTMail-content\"\n" +
                "                                                                        style=\"line-height: 24px; margin: 6px 0px 0px; overflow-wrap: break-word; word-break: break-all;\">\n" +
                "                                                                        <span\n" +
                "                                                                            style=\"color: rgb(51, 51, 51); font-size: 14px;\">\n" +
                "\n" +
                "                                                                        </span>\n" +
                "                                                                    </p>\n" +
                "                                                                    <dl\n" +
                "                                                                        style=\"font-size: 14px; color: rgb(51, 51, 51); line-height: 18px;\">\n" +
                "                                                                        <dd\n" +
                "                                                                            style=\"margin: 0px 0px 6px; padding: 0px; font-size: 12px; line-height: 22px;\">\n" +
                "                                                                            <div style=\"float: left;\">\n" +
                "                                                                                <p id=\"cTMail-sender\"\n" +
                "                                                                                    style=\"font-size: 14px; line-height: 26px; word-wrap: break-word; word-break: break-all; margin-top: 32px;\">\n" +
                "                                                                                    此致\n" +
                "                                                                                    <br>\n" +
                "                                                                                    <strong>软件协会</strong>\n" +
                "                                                                                    <br>\n" +
                "                                                                                    "+getTime()+"\n" +
                "                                                                                </p>\n" +
                "                                                                                万维网连接五大洲，二进制写进天下事，祝你成功!\n" +
                "                                                                            </div>\n" +
                "                                                                            <div\n" +
                "                                                                                style=\"float: right; width: 160px;height:160px;background: url('https://sap-1256773093.cos.ap-nanjing.myqcloud.com/%E9%82%AE%E4%BB%B6%E5%9B%BE%E7%89%871.png'); background-size: cover;\">\n" +
                "\n" +
                "                                                                            </div>\n" +
                "\n" +
                "                                                                        </dd>\n" +
                "                                                                    </dl>\n" +
                "                                                                </td>\n" +
                "                                                                <td style=\"width:3.2%;max-width:30px;\"></td>\n" +
                "                                                            </tr>\n" +
                "                                                        </tbody>\n" +
                "                                                    </table>\n" +
                "                                                </div>\n" +
                "\n" +
                "                                                <div id=\"cTMail-copy\"\n" +
                "                                                    style=\"text-align:center; font-size:12px; line-height:18px; color:#999\">\n" +
                "                                                    <table\n" +
                "                                                        style=\"width:100%;font-weight:300;margin-bottom:10px;border-collapse:collapse\">\n" +
                "                                                        <tbody>\n" +
                "                                                            <tr style=\"font-weight:300\">\n" +
                "                                                                <td style=\"width:3.2%;max-width:30px;\"></td>\n" +
                "                                                                <td style=\"max-width:540px;\">\n" +
                "\n" +
                "                                                                    <p\n" +
                "                                                                        style=\"text-align:center; margin:20px auto 14px auto;font-size:12px;color:#999;\">\n" +
                "                                                                        此为系统邮件，请勿回复。\n" +
                "\n" +
                "                                                                    </p>\n" +
                "\n" +
                "                                                                    <p id=\"cTMail-rights\"\n" +
                "                                                                        style=\"max-width: 100%; margin:auto;font-size:12px;color:#999;text-align:center;line-height:22px;\">\n" +
                "                                                                    <div\n" +
                "                                                                        style=\"width:100px; height:100px; margin:0 auto;border: 1px solid rgb(211, 211, 211);background: url('https://sap-1256773093.cos.ap-nanjing.myqcloud.com/%E5%AE%98Q%E4%BA%8C%E7%BB%B4%E7%A0%81.png'); background-size: cover;\">\n" +
                "                                                                    </div>\n" +
                "                                                                    <p\n" +
                "                                                                        style=\"text-align:center; margin:20px auto 14px auto;font-size:12px;color:#999;\">\n" +
                "                                                                        关注软件协会官方QQ，了解更多！\n" +
                "\n" +
                "                                                                    </p>\n" +
                "\n" +
                "                                                                    <br>\n" +
                "\n" +
                "                                                                    </p>\n" +
                "                                                                </td>\n" +
                "                                                                <td style=\"width:3.2%;max-width:30px;\"></td>\n" +
                "                                                            </tr>\n" +
                "                                                        </tbody>\n" +
                "                                                    </table>\n" +
                "                                                </div>\n" +
                "                                            </td>\n" +
                "                                            <td style=\"width:3%;max-width:30px;\"></td>\n" +
                "                                        </tr>\n" +
                "                                    </tbody>\n" +
                "                                </table>\n" +
                "                            </div>\n" +
                "                        </div>\n" +
                "                    </span>\n" +
                "                </div>\n" +
                "            </div>\n" +
                "        </div>\n" +
                "    </includetail>\n" +
                "</div>";
    }

    /**
     * 当评价完发送邮件给用户
     * @param l1 学习笔记
     * @param l2 学习深度
     * @param l3 学习热情
     * @param l4 学习总结
     * @param l5 综合评估
     * @param appraise 评语
     * @param name 姓名
     * @param context 第一次评价还是修改评价
     * @return 字符串
     */
    public static String sendEmailToCompleteEvaluation(Integer l1,Integer l2,Integer l3,Integer l4,Integer l5,String appraise,String name,String context){
        return "\n" +
                "<div>\n" +
                "  <includetail>\n" +
                "    <div align=\"center\">\n" +
                "      <div class=\"open_email\" style=\"margin-left: 8px; margin-top: 8px; margin-bottom: 8px; margin-right: 8px;\">\n" +
                "        <div>\n" +
                "          <br>\n" +
                "          <span class=\"genEmailContent\">\n" +
                "            <div id=\"cTMail-Wrap\"\n" +
                "              style=\"word-break: break-all;box-sizing:border-box;text-align:center;min-width:320px; max-width:660px; border:1px solid #f6f6f6; background-color:#f7f8fa; margin:auto; padding:20px 0 30px; font-family:'helvetica neue',PingFangSC-Light,arial,'hiragino sans gb','microsoft yahei ui','microsoft yahei',simsun,sans-serif\">\n" +
                "              <div class=\"main-content\" style=\"\">\n" +
                "                <table style=\"width:100%;font-weight:300;margin-bottom:10px;border-collapse:collapse\">\n" +
                "                  <tbody>\n" +
                "                    <tr style=\"font-weight:300\">\n" +
                "                      <td style=\"width:3%;max-width:30px;\"></td>\n" +
                "                      <td style=\"max-width:600px;\">\n" +
                "                        <div id=\"cTMail-logo\" style=\"width:500px; height:25px;\">\n" +
                "                          <a href=\"\" style=\"text-decoration: none;\">\n" +
                "                            <div\n" +
                "                              style=\"width:50px; height:50px;vertical-align: middle;display: inline-block;background: url('https://sap-1256773093.cos.ap-nanjing.myqcloud.com/%E9%82%AE%E4%BB%B6%E5%9B%BE%E7%89%87logo.png'); background-size: cover; \">\n" +
                "                            </div>\n" +
                "\n" +
                "                            <span\n" +
                "                              style=\"color: #000; display: inline-block;font-size: 25px;font-weight: 700;letter-spacing: 5px;height:40px;line-height: 40px;margin-left: 5px;\">软件协会</span>\n" +
                "                          </a>\n" +
                "                        </div>\n" +
                "                        <p\n" +
                "                          style=\"height:2px;background-color: #00a4ff;border: 0;font-size:0;padding:0;width:100%;margin-top:20px;\">\n" +
                "                        </p>\n" +
                "\n" +
                "                        <div id=\"cTMail-inner\"\n" +
                "                          style=\"background-color:#fff; padding:23px 0 20px;box-shadow: 0px 1px 1px 0px rgba(122, 55, 55, 0.2);text-align:left;\">\n" +
                "                          <table\n" +
                "                            style=\"width:100%;font-weight:300;margin-bottom:10px;border-collapse:collapse;text-align:left;\">\n" +
                "                            <tbody>\n" +
                "                              <tr style=\"font-weight:300\">\n" +
                "                                <td style=\"width:3.2%;max-width:30px;\"></td>\n" +
                "                                <td style=\"max-width:480px;text-align:left;\">\n" +
                "                                  <h1 id=\"cTMail-title\"\n" +
                "                                    style=\"font-size: 20px; line-height: 36px; margin: 0px 0px 22px;\">\n" +
                "                                    【软件协会】周任务成绩单\n" +
                "                                  </h1>\n" +
                "\n" +
                "                                  <p id=\"cTMail-userName\"\n" +
                "                                    style=\"font-size:14px;color:#333; line-height:24px; margin:0;\">\n" +
                "                                    <span style=\"font-weight: 700;\">"+name+"同学</span>，您好！\n" +
                "                                  </p>\n" +
                "\n" +
                "                                  <p class=\"cTMail-content\"\n" +
                "                                    style=\"line-height: 24px; margin: 6px 0px 0px; overflow-wrap: break-word; word-break: break-all;\">\n" +
                "                                    <span style=\"color: rgb(51, 51, 51); font-size: 14px;\">\n" +
                "                                      "+context+"！详情如下：\n" +
                "                                    </span>\n" +
                "                                  </p>\n" +
                "                                  <p class=\"cTMail-content\"\n" +
                "                                    style=\"line-height: 24px; margin: 6px 0px 0px; overflow-wrap: break-word; word-break: break-all;\">\n" +
                "                                    <span style=\"color: rgb(51, 51, 51); font-size: 14px;\">\n" +
                "                                      <ul style=\"color: rgb(51, 51, 51); font-size: 14px;\">\n" +
                "                                        <li>学习笔记："+l1+"</li>\n" +
                "                                        <li>学习深度："+l2+"</li>\n" +
                "                                        <li>学习热情："+l3+"</li>\n" +
                "                                        <li>学习总结："+l4+"</li>\n" +
                "                                        <li>综合评估："+l5+"</li>\n" +
                "                                      </ul>\n" +
                "                                    </span>\n" +
                "                                  </p>\n" +
                "                                  <p class=\"cTMail-content\"\n" +
                "                                    style=\"line-height: 24px; margin: 6px 0px 0px; overflow-wrap: break-word; word-break: break-all;\">\n" +
                "                                    <span style=\"color: rgb(51, 51, 51); font-size: 14px;\">\n" +
                "                                      评语："+appraise+"\n" +
                "                                    </span>\n" +
                "                                  </p>\n" +
                "                                  <p class=\"cTMail-content\"\n" +
                "                                    style=\"line-height: 24px; margin: 6px 0px 0px; overflow-wrap: break-word; word-break: break-all;\">\n" +
                "                                    <span style=\"color: rgb(51, 51, 51); font-size: 14px;\">\n" +
                "\n" +
                "                                    </span>\n" +
                "                                  </p>\n" +
                "                                  <dl style=\"font-size: 14px; color: rgb(51, 51, 51); line-height: 18px;\">\n" +
                "                                    <dd style=\"margin: 0px 0px 6px; padding: 0px; font-size: 12px; line-height: 22px;\">\n" +
                "                                      <div style=\"float: left;\">\n" +
                "                                        <p id=\"cTMail-sender\"\n" +
                "                                          style=\"font-size: 14px; line-height: 26px; word-wrap: break-word; word-break: break-all; margin-top: 32px;\">\n" +
                "                                          此致\n" +
                "                                          <br>\n" +
                "                                          <strong>软件协会</strong>\n" +
                "                                          <br>\n" +
                "                                          "+getTime()+"\n" +
                "                                        </p>\n" +
                "                                        万维网连接五大洲，二进制写进天下事，祝你成功!\n" +
                "                                      </div>\n" +
                "                                      <div\n" +
                "                                        style=\"float: right; width: 160px;height:160px;background: url('https://sap-1256773093.cos.ap-nanjing.myqcloud.com/%E9%82%AE%E4%BB%B6%E5%9B%BE%E7%89%871.png'); background-size: cover;\">\n" +
                "\n" +
                "                                      </div>\n" +
                "\n" +
                "                                    </dd>\n" +
                "                                  </dl>\n" +
                "                                </td>\n" +
                "                                <td style=\"width:3.2%;max-width:30px;\"></td>\n" +
                "                              </tr>\n" +
                "                            </tbody>\n" +
                "                          </table>\n" +
                "                        </div>\n" +
                "\n" +
                "                        <div id=\"cTMail-copy\" style=\"text-align:center; font-size:12px; line-height:18px; color:#999\">\n" +
                "                          <table style=\"width:100%;font-weight:300;margin-bottom:10px;border-collapse:collapse\">\n" +
                "                            <tbody>\n" +
                "                              <tr style=\"font-weight:300\">\n" +
                "                                <td style=\"width:3.2%;max-width:30px;\"></td>\n" +
                "                                <td style=\"max-width:540px;\">\n" +
                "\n" +
                "                                  <p style=\"text-align:center; margin:20px auto 14px auto;font-size:12px;color:#999;\">\n" +
                "                                    此为系统邮件，请勿回复。\n" +
                "\n" +
                "                                  </p>\n" +
                "\n" +
                "                                  <p id=\"cTMail-rights\"\n" +
                "                                    style=\"max-width: 100%; margin:auto;font-size:12px;color:#999;text-align:center;line-height:22px;\">\n" +
                "                                  <div\n" +
                "                                    style=\"width:100px; height:100px; margin:0 auto;border: 1px solid rgb(211, 211, 211);background: url('https://sap-1256773093.cos.ap-nanjing.myqcloud.com/%E5%AE%98Q%E4%BA%8C%E7%BB%B4%E7%A0%81.png'); background-size: cover;\">\n" +
                "                                  </div>\n" +
                "                                  <p style=\"text-align:center; margin:20px auto 14px auto;font-size:12px;color:#999;\">\n" +
                "                                    关注软件协会官方QQ，了解更多！\n" +
                "\n" +
                "                                  </p>\n" +
                "\n" +
                "                                  <br>\n" +
                "\n" +
                "                                  </p>\n" +
                "                                </td>\n" +
                "                                <td style=\"width:3.2%;max-width:30px;\"></td>\n" +
                "                              </tr>\n" +
                "                            </tbody>\n" +
                "                          </table>\n" +
                "                        </div>\n" +
                "                      </td>\n" +
                "                      <td style=\"width:3%;max-width:30px;\"></td>\n" +
                "                    </tr>\n" +
                "                  </tbody>\n" +
                "                </table>\n" +
                "              </div>\n" +
                "            </div>\n" +
                "          </span>\n" +
                "        </div>\n" +
                "      </div>\n" +
                "    </div>\n" +
                "  </includetail>\n" +
                "</div>";
    }

}
